Closed 94marianag closed 1 year ago
I'm using version 2.26.2, and when a I set the variable enabled to false, it still sends data to rollbar const Rollbar = require('rollbar');
const Rollbar = require('rollbar');
const rollbar = new Rollbar({ accessToken: process.env.ROLLBAR_ACCESS_TOKEN, captureUncaught: true, captureUnhandledRejections: true, payload: { code_version: '1.0.0', } });
const rollbar = new Rollbar({
accessToken: process.env.ROLLBAR_ACCESS_TOKEN,
captureUncaught: true,
captureUnhandledRejections: true,
payload: {
code_version: '1.0.0',
}
});
rollbar.configure({ enabled: process.env.ROLLBAR_SERVICE_ENABLED, });
rollbar.configure({
enabled: process.env.ROLLBAR_SERVICE_ENABLED,
module.exports=rollbar;
I'm using version 2.26.2, and when a I set the variable enabled to false, it still sends data to rollbar
const Rollbar = require('rollbar');
const rollbar = new Rollbar({
accessToken: process.env.ROLLBAR_ACCESS_TOKEN,
captureUncaught: true,
captureUnhandledRejections: true,
payload: {
code_version: '1.0.0',
}
});
rollbar.configure({
enabled: process.env.ROLLBAR_SERVICE_ENABLED,
});
module.exports=rollbar;