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
Expected behavior
Should show stacktrace when exception is thrown
Actual behavior
does not show the stack trace for throw 'Error'
throw 'Error2'; // generates an exception with a string value
throw 42; // generates an exception with the value 42
throw true; // generates an exception with the value true
@sguptatw That's not an issue with the plugin. It's the way how nodejs handle errors. throw "Error" is not same as throw new Error("Error"). first one is a primitive, not an object. throwing a primitive will not capture any stack trace.
Expected behavior
Should show stacktrace when exception is thrown
Actual behavior
throw 'Error'
throw new Error('Unimplemented Step');
Version
The text was updated successfully, but these errors were encountered: