Skip to content

Commit 4d9bb5d

Browse files
committed
haha, not correct
1 parent ea4ab36 commit 4d9bb5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/pm-log-capture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const downloadLogs = async () => {
193193
window.downloadLogs = downloadLogs;
194194

195195
window.addEventListener('error', e =>
196-
push('error', e.message, parseStack(e.error.stack, e.filename, e.lineno, e.colno)));
196+
push('error', e.message, parseStack(`\n${e.error.stack}`, e.filename, e.lineno, e.colno)));
197197
window.addEventListener('unhandledrejection', e => push('promiseError', e.reason, []));
198198
class StackTrace extends Error {
199199
constructor() {

0 commit comments

Comments
 (0)