Closed vitalybe closed 9 years ago
@vitalybe , I'm helping maintain TraceKit upstream.. If you want to recreate all the issues / pull requests in the master (https://github.com/csnover/TraceKit) I'll participate in the discussion and merge them in! I'm not sure about that change. Have you made it locally? Have you ran into any issues with it?
I believe this issue has been fixed in the root repository: https://github.com/csnover/TraceKit Can you please let me know if it isn't by opening a new issue in the root repo.
Consider the following callstack:
This line:
new <anonymous>@https://webclient.mini.net/tmp/scripts/index.js:643:11
isn't being handled properly by the regex here:Here is a fix suggestion:
^\s*at (?:((?:\[object object\])?(?:new )?\S+(?: \[as \S+\])?) )?\(?((?:file|https?|chrome-extension):.*?):(\d+)(?::(\d+))?\)?\s*$
Basically I just added optional
(?:new )?
after the optional "[object object]" capture.Not exactly sure, however, how it affects other browsers or other cases.