Commit bbc0691d authored by claes's avatar claes

Bugfix in move object

parent 7c88774d
......@@ -898,8 +898,13 @@ ldh_MoveObject(ldh_tSession session, pwr_tOid oid, pwr_tOid doid, ldh_eDest dest
if (!o) return o.sts();
wb_destination d = d_o.destination(dest);
sp->moveObject(o, d);
return sp->sts();
try {
sp->moveObject(o, d);
return sp->sts();
}
catch ( wb_error& e) {
return e.sts();
}
}
pwr_tStatus
......
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