You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Electron 1.7.8 (Chrome 58)
Windows 7
raven-js 3.17
Hosted Sentry
What is the current behavior?
Part of the stack trace is missing
What is the expected behavior?
The whole stack trace should be sent to Sentry.
The source of the problem is that the regex in tracekit.js fails to match the filename as it is produced by Chrome/Electron under certain conditions (in my case it involves running code from within an iframe).
Typically a frame has the following form:
at SomeObject.someFunction (file:///C:/Users/path/to/file.js:123:56)
However in some cases it looks like this:
at SomeObject.someFunction (C:\Users\path\to\file.js:123:56)
Note the lack of file:/// and the Windows-style backslashes.
Could the regex be updated to support this case please? Thank-you.
The text was updated successfully, but these errors were encountered:
Thanks. Yes, precommit passed the file through prettier, and because it wasn't edited in a long time, it has been updated to up-to-date code style.
It's totally fine the way it is, but could you just split those changes and yours into two separate commits? It'll be easier to distinguish them later.
bug
Electron 1.7.8 (Chrome 58)
Windows 7
raven-js 3.17
Hosted Sentry
What is the current behavior?
Part of the stack trace is missing
What is the expected behavior?
The whole stack trace should be sent to Sentry.
The source of the problem is that the regex in
tracekit.js
fails to match the filename as it is produced by Chrome/Electron under certain conditions (in my case it involves running code from within an iframe).Typically a frame has the following form:
However in some cases it looks like this:
Note the lack of
file:///
and the Windows-style backslashes.Could the regex be updated to support this case please? Thank-you.
The text was updated successfully, but these errors were encountered: