mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 885615. Ensure that exn.stack exists. r=mossop
This commit is contained in:
parent
a61125e8a8
commit
3198126b2d
@ -52,6 +52,9 @@ if (this.Components) {
|
||||
LOG("Method", method, "succeeded");
|
||||
} catch (ex) {
|
||||
exn = ex;
|
||||
if (!exn.stack) {
|
||||
exn.stack = "No stack trace available!";
|
||||
}
|
||||
LOG("Error while calling agent method", exn, exn.stack);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user