Closed
Description
I'm using chrome and trying to trace an agular error and the first line is:
at new ProjectsController (http://127.0.0.1:9001/js/app.js?v=1413888176794:14710:7)
There are morelines that work correctly but this one (the first) is ignored when submiting the error to sentry.
I've been checking the computeStackTraceFromStackProp function and I see that:
chrome = /^\s*at (?:((?:\[object object\])?\S+(?: \[as \S+\])?) )?\(?((?:file|https?|chrome-extension):.*?):(\d+)(?::(\d+))?\)?\s*$/i
chrome.exec(" at new ProjectsController (http://127.0.0.1:9001/js/app.js?v=1413888176794:14710:7)")
doesn't recognize the spaces, if I remove the "new" word it works properly.
Metadata
Metadata
Assignees
Labels
No labels