Blog |

node_rollbar 0.3.11

node_rollbar 0.3.11

We've released a new version of our Node.js library, version 0.3.11. It's available on
npm and GitHub.

This release adds a new function to the public API, handleErrorWithPayloadData. The name's a
mouthful, but it allows you to use (nearly) the full power of the Rollbar API when reporting errors.
For example, to report an error as a "warning" and pass some additional data:

rollbar.handleErrorWithPayloadData(err, {level: "warning", custom: {someKey: "some value"}});

See more examples in the docs for caught exceptions.

Related Posts

See all posts

"Rollbar allows us to go from alerting to impact analysis and resolution in a matter of minutes. Without it we would be flying blind."

Start continuously improving your code today.

Get Started Shape