Skip to content

Commit 145e3a9

Browse files
committed
stack limit of 50, not Infinity
We don't have infinite room to send data, we only have 100KB, even for POST, so we need to be a little bit conservative. 50 should be enough for most cases. If we need to handle more, we'll need to implement compression on the client so our packet is less than 100KB like our other server side clients.
1 parent 89f0f5c commit 145e3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function Raven() {
4646
crossOrigin: 'anonymous',
4747
collectWindowErrors: true,
4848
maxMessageLength: 0,
49-
stackTraceLimit: Infinity
49+
stackTraceLimit: 50
5050
};
5151
this._ignoreOnError = 0;
5252
this._isRavenInstalled = false;

0 commit comments

Comments
 (0)