Commit 1bf8710c authored by claes's avatar claes

Catch of wb_error inserted in object()

parent e6502c4b
...@@ -188,6 +188,10 @@ wb_orep* wb_vrepdb::object(pwr_tStatus *sts) ...@@ -188,6 +188,10 @@ wb_orep* wb_vrepdb::object(pwr_tStatus *sts)
printf("vrepdb: %s\n", e.what()); printf("vrepdb: %s\n", e.what());
return 0; return 0;
} }
catch (wb_error &e) {
*sts = LDH__NOSUCHOBJ;
return 0;
}
} }
wb_orep* wb_vrepdb::object(pwr_tStatus *sts, pwr_tOid oid) wb_orep* wb_vrepdb::object(pwr_tStatus *sts, pwr_tOid oid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment