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
There seems to be a problem though with SyntaxErrors (e.g. one line in my script contains some random characters). In that case, I get different behavior in different browsers.
In Chrome 60, I get this stack trace: [{fileName: "SyntaxError: Unexpected identifier", source: "SyntaxError: Unexpected identifier"}]. In Safari 10.1.2, this error is logged Error: Cannot parse given Error object. Note that in both browsers the message, filename, lineno, colno arguments have meaningful values.
I'm using stacktrace-js 2.0.0 on macOS 10.12.6. Thanks in advance for any help!
The text was updated successfully, but these errors were encountered:
I'm currently using the following code to catch all kind of errors.
There seems to be a problem though with
SyntaxError
s (e.g. one line in my script contains some random characters). In that case, I get different behavior in different browsers.In Chrome 60, I get this stack trace:
[{fileName: "SyntaxError: Unexpected identifier", source: "SyntaxError: Unexpected identifier"}]
. In Safari 10.1.2, this error is loggedError: Cannot parse given Error object
. Note that in both browsers themessage
,filename
,lineno
,colno
arguments have meaningful values.I'm using stacktrace-js 2.0.0 on macOS 10.12.6. Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: