зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1495261 - Watch for exceptions being thrown while stringifying old exceptions, r=lsmyth.
--HG-- extra : rebase_source : 23eab39d87346fa93e458c5280b7c02321f29194
This commit is contained in:
Родитель
4ebe60371d
Коммит
5c7db5a769
|
@ -707,8 +707,14 @@ function ProcessRequest(request) {
|
|||
}
|
||||
return { exception: "No handler for " + request.type };
|
||||
} catch (e) {
|
||||
RecordReplayControl.dump("ReplayDebugger Record/Replay Error: " + e + "\n");
|
||||
return { exception: "" + e };
|
||||
let msg;
|
||||
try {
|
||||
msg = "" + e;
|
||||
} catch (ee) {
|
||||
msg = "Unknown";
|
||||
}
|
||||
RecordReplayControl.dump("ReplayDebugger Record/Replay Error: " + msg + "\n");
|
||||
return { exception: msg };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче