browser(firefox): report pageerrors without stack properties (#4166)
This commit is contained in:
parent
ef3d3ca58e
commit
4f7d65fe9c
|
|
@ -1,2 +1,2 @@
|
||||||
1193
|
1194
|
||||||
Changed: joel.einbinder@gmail.com Fri 16 Oct 2020 01:22:55 AM PDT
|
Changed: joel.einbinder@gmail.com Fri 16 Oct 2020 01:52:53 AM PDT
|
||||||
|
|
|
||||||
|
|
@ -375,7 +375,7 @@ class PageAgent {
|
||||||
this._browserPage.emit('pageUncaughtError', {
|
this._browserPage.emit('pageUncaughtError', {
|
||||||
frameId: frame.id(),
|
frameId: frame.id(),
|
||||||
message: errorEvent.message,
|
message: errorEvent.message,
|
||||||
stack: errorEvent.error ? errorEvent.error.stack : '',
|
stack: errorEvent.error && typeof errorEvent.error.stack === 'string' ? errorEvent.error.stack : '',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue