« Previous | Next » 

Revision 117dc2d8

ID117dc2d8dc1ff8bff076206c6ee32f08ccbccdf5

Added by Iustin Pop over 14 years ago

Enhance the error reporting for Rapi and Luxi

Currently the JSON conversion in Rapi and Luxi are giving something
like:
Error: failed to load data. Details:
Unable to read Double

This doesn't tell one where the error is (in a node specification? and
which node? etc.). This patch annotates such messages with the owner
node:
Error: failed to load data. Details:
Node 'node1' key 'mtotal': Unable to read Double

For errors during parsing of the node/instance name (unlikely, but
still), the output is:
Error: failed to load data. Details:
Parsing new node key 'name': Unable to read String

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences