Skip to content

Commit d71ec08

Browse files
committed
Allow to override the linesOfContext being captured
Fixes #122
1 parent 90b2c99 commit d71ec08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/raven.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ var Raven = {
9999
TK.remoteFetching = true;
100100
}
101101

102+
if (globalOptions.linesOfContext) {
103+
TK.linesOfContext = globalOptions.linesOfContext;
104+
}
105+
102106
// return for chaining
103107
return Raven;
104108
},

0 commit comments

Comments
 (0)