updated sentry libs from raven to @sentry
This commit is contained in:
parent
927c981cd7
commit
807ecff471
9 changed files with 106 additions and 71 deletions
|
@ -1,7 +1,7 @@
|
|||
import 'intl-pluralrules';
|
||||
import choo from 'choo';
|
||||
import html from 'choo/html';
|
||||
import Raven from 'raven-js';
|
||||
import * as Sentry from '@sentry/browser';
|
||||
|
||||
import { setApiUrlPrefix, getConstants } from '../app/api';
|
||||
import metrics from '../app/metrics';
|
||||
|
@ -82,7 +82,7 @@ function body(main) {
|
|||
state.archive = new Archive([], DEFAULTS.EXPIRE_SECONDS);
|
||||
state.storage = storage;
|
||||
state.user = new User(storage, LIMITS);
|
||||
state.raven = Raven;
|
||||
state.sentry = Sentry;
|
||||
});
|
||||
app.use(metrics);
|
||||
app.route('/', body(home));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue