rollbar / rollbar.js

Error tracking and logging from Javascript to Rollbar

Home Page:https://docs.rollbar.com/docs/javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Error cause field

twschiller opened this issue · comments

  • Node and modern browsers support an optional "cause" field
  • For debugging re-thrown errors, it would be great if rollbar.js would support the nested errors and properly include the causes in the payload/stack trace

@twschiller Can't make promises, atm, butI have been following the development of the Cause standard that's floating around.

Is this the proposal that you want us to support: https://tc39.es/proposal-error-cause/ [edited fixed link]

Thanks for the quick response @cyrusradfar. Yes, that link is for the stage 1 proposal

@cyrusradfar I'd expect the .cause chain to be displayed similarly to this:

Screen Shot