Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const reportBuild = require('bugsnag-build-reporter');
- /**
- * Notifies Bugsnag of the new release
- */
- function notifyRelease() {
- reportBuild({
- apiKey: process.env.REACT_APP_BUGSNAG_API_KEY,
- appVersion,
- releaseStage: process.env.REACT_APP_RELEASE_STAGE,
- })
- .then(() => console.log('Bugsnag build reported'))
- .catch(err => console.log('Reporting Bugsnag build failed', err.messsage));
- }
Add Comment
Please, Sign In to add comment