- Published
- Author
- Syed
Error Monitoring in Bugsnag works similar to Sentry and the commonly used method is
FYI: Sentry has a broader approval by developers.
EG:
bugsnag.notify() . It also takes an error object and captures it as an event. And we can set it up for different environments by using ENV (similar to sentry) or manually configure it as well.FYI: Sentry has a broader approval by developers.
EG:
JavaScript
try {
// Some code here
} catch (error) {
bugsnag.notify(
new Error(`Error ${error} while sending Standup popup`)
);
}