Installation

Clone

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

Registration

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

{
    '@arkx/core-sentry': {
        dsn: 'https://[email protected]/...'
    }
}

Configuration

Arguments

Defaults

module.exports = {
    configuration: {
        captureUnhandledRejections: true,
        environment: process.env.NODE_ENV,
        tags: {
            network: process.env.ARK_NETWORK_NAME
        }
    }
}