rethrow exceptions the fault tolerance module says are bad. catch lock exceptions in the notify wrapper and don't rethrow them (hack)

This commit is contained in:
Dan Mills 2008-07-11 19:01:06 -07:00
parent 84e9eed2ab
commit cd8154bbd9

View File

@ -99,7 +99,8 @@ let Wrap = {
} catch (e) {
this._os.notifyObservers(null, this._osPrefix + savedName + ":error", "");
this._os.notifyObservers(null, this._osPrefix + "global:error", "");
throw e;
if (e != "Could not acquire lock") // FIXME HACK
throw e;
}
self.done(ret);
@ -201,7 +202,7 @@ let Wrap = {
} catch (e) {
ret = FaultTolerance.Service.onException(e);
if (!ret)
throw "Unrecoverable error";
throw e;
}
self.done(ret);
};