- ds_put_format(&ds, " (%s %s%s)", program_name, VERSION, BUILDNR);
+ ds_put_format(&ds, " (%s %s)", program_name, VERSION);
+
+ if (inner_error) {
+ char *s = ovsdb_error_to_string(inner_error);
+ ds_put_format(&ds, " (generated from: %s)", s);
+ free(s);
+
+ ovsdb_error_destroy(inner_error);
+ }