Installation

Clone

cd ~/ark-core/plugins
git clone https://github.com/arkx-ecosystem/core-rollbar
lerna bootstrap

Registration

Open ~/.ark/config/plugins.js and add the following as the first entry.

{
    '@arkx/core-rollbar': {
        accessToken: 'POST_SERVER_ITEM_ACCESS_TOKEN'
    }
}

Configuration

Arguments

  • accessToken - A valid and active Rollbar.com acess token

All configuration arguments from https://docs.rollbar.com/docs/nodejs

Defaults

module.exports = {
    captureUncaught: true,
    captureUnhandledRejections: true
}