mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
84e9eed2ab
commit
cd8154bbd9
@ -99,6 +99,7 @@ let Wrap = {
|
||||
} catch (e) {
|
||||
this._os.notifyObservers(null, this._osPrefix + savedName + ":error", "");
|
||||
this._os.notifyObservers(null, this._osPrefix + "global:error", "");
|
||||
if (e != "Could not acquire lock") // FIXME HACK
|
||||
throw e;
|
||||
}
|
||||
|
||||
@ -201,7 +202,7 @@ let Wrap = {
|
||||
} catch (e) {
|
||||
ret = FaultTolerance.Service.onException(e);
|
||||
if (!ret)
|
||||
throw "Unrecoverable error";
|
||||
throw e;
|
||||
}
|
||||
self.done(ret);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user