diff --git a/src/lib/pm-log-capture.js b/src/lib/pm-log-capture.js index 45a4104e2cd..368168ac82b 100644 --- a/src/lib/pm-log-capture.js +++ b/src/lib/pm-log-capture.js @@ -199,6 +199,7 @@ window.addEventListener('unhandledrejection', e => push('promiseError', String(e class StackTrace extends Error { constructor() { super(''); + this.name = 'StackTrace'; if (this.stack.split('\n', 2)[0].includes('@')) { this.stack = this.stack .split('\n')