Closed
Description
Hi.
I've faced with the problem in my YUI3 application.
Exceptions in YUI3 can have huge stacktrace so the GET-request sent to Sentry API is too long and I get an error from Sentry api:
Bad Request
Request Line is too large (4380 > 4094)
Could you please add an option to limit stacktrace up to the specified number of last entries?
For now I use local copy of the library with one line added:
var stack = TraceKit.computeStackTrace(ex);
+ stack.stack = stack.stack.slice(0, 5);
Metadata
Metadata
Assignees
Labels
No labels