ovsdb: Improve error reporting for some internal errors.
authorBen Pfaff <blp@nicira.com>
Wed, 9 Mar 2011 20:41:37 +0000 (12:41 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Mar 2011 19:23:59 +0000 (11:23 -0800)
commit1dd5b71d14b5c5360f97071041ec1bdd1f8d2445
treef30031c2ba81acc9d48b880bdc965530cd493734
parentd198c4beee03741670d046baf0179ac5583305bb
ovsdb: Improve error reporting for some internal errors.

Sometimes internal errors are generated based on an originating error.  In
these cases we were just throwing this information away.  This commit adds
this information to the internal error report so that the error will be
easier to track down.

I haven't actually seen a situation like this come up.
lib/ovsdb-error.c
lib/ovsdb-error.h
ovsdb/transaction.c