How to use the rollbar.error function in rollbar

To help you get started, we’ve selected a few rollbar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rollbar / rollbar.js / examples / universal-node / other.js View on Github external
exports.doSomeError = function(message, req, custom, callback) {
  rollbar.error(message, req, custom, callback);
};