You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
392 B
14 lines
392 B
9 years ago
|
import Raven from 'raven-js';
|
||
|
|
||
|
const sentry_key = 'cb55d4f05cd443ce82303222f77ef5e0';
|
||
|
const sentry_app = '61499';
|
||
|
export const sentry_url = `https://${sentry_key}@app.getsentry.com/${sentry_app}`;
|
||
|
|
||
|
export function logException(ex, context) {
|
||
|
Raven.captureException(ex, {
|
||
|
extra: context
|
||
|
});
|
||
|
/*eslint no-console:0*/
|
||
|
window && window.console && console.error && console.error(ex);
|
||
|
}
|