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
Vanilla node REPL logs line context only for SyntaxErrors. For example:
$ node
Welcome to Node.js v17.0.0.
Type ".help" for more information.
> foo bar
foo bar <-- this is the "context" I'm talking about
^^^
Uncaught SyntaxError: Unexpected identifier
>
We log for all errors.
Should we re-align with node in this regard?
Would likely require a change to cspotcode/node-source-map-support.
This PR highlights the relevant code in node core: nodejs/node#29676
The text was updated successfully, but these errors were encountered:
Vanilla node REPL logs line context only for SyntaxErrors. For example:
We log for all errors.
Should we re-align with node in this regard?
Would likely require a change to cspotcode/node-source-map-support.
This PR highlights the relevant code in node core: nodejs/node#29676
The text was updated successfully, but these errors were encountered: