node_rollbar 0.3.11

July 24th, 2014 • By Brian Rue

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.

Get the latest updates delivered to your inbox.