Skip to content

Commit ff1f82f

Browse files
committed
doooont include theeee log capturer in traces
1 parent d82d7b4 commit ff1f82f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/pm-log-capture.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const push = (type, message, trace) => {
5959
trace
6060
});
6161
};
62-
const _parseFirefoxStack = stack => stack.split('\n')
62+
const _parseFirefoxStack = stack => stack.split('\n').slice(1)
6363
.map(line => {
6464
const at = line.indexOf('@');
6565
const secondCol = line.lastIndexOf(':');
@@ -90,7 +90,7 @@ const _parseFirefoxStack = stack => stack.split('\n')
9090
origin
9191
};
9292
});
93-
const _parseChromeStack = stack => stack.split('\n').slice(1)
93+
const _parseChromeStack = stack => stack.split('\n').slice(2)
9494
.map(line => {
9595
// we have no use for the human readable fluff
9696
line = line.slice(7);

0 commit comments

Comments
 (0)