-
-
Save shackpank/35c130623e52926b6af1 to your computer and use it in GitHub Desktop.
Bugsnag missing events with £ symbol in custom data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// add your API key, & run with `npm install bugsnag@1.3.0 && NODE_ENV=development node test.js` | |
// only the second error appears in the dashboard | |
var bugsnag = require('bugsnag'); | |
bugsnag.register('/* key */', { | |
appVersion: 'N/A', | |
notifyReleaseStages: [ 'development' ] | |
}); | |
bugsnag.notify(new Error('Pound symbol in extraData bad path test'), { | |
extraData: { | |
currency: '£' | |
} | |
}); | |
bugsnag.notify(new Error('Pound symbol in extraData good path test'), { | |
extraData: { | |
currency: 'POUND' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment