Upgrade deps
This commit is contained in:
parent
9fcec67a5b
commit
f464ce2b59
7 changed files with 1482 additions and 800 deletions
|
@ -49,8 +49,8 @@ router.use(async (ctx, next) => {
|
|||
};
|
||||
} else if (!err.status) {
|
||||
debug(err);
|
||||
if (ctx.Raven) {
|
||||
ctx.Raven.captureException(err);
|
||||
if (ctx.Sentry) {
|
||||
ctx.Sentry.captureException(err);
|
||||
}
|
||||
throw err;
|
||||
} else {
|
||||
|
|
|
@ -77,7 +77,7 @@ export async function events(ctx) {
|
|||
} catch (err) {
|
||||
debug('Invalid JSON for socket auth');
|
||||
ctx.websocket.send('Invalid authentication message. Bad JSON?');
|
||||
ctx.Raven.captureException(err);
|
||||
ctx.Sentry.captureException(err);
|
||||
}
|
||||
try {
|
||||
const reply = await ctx.redis.get(json.authorization);
|
||||
|
@ -90,7 +90,7 @@ export async function events(ctx) {
|
|||
}
|
||||
} catch (err) {
|
||||
debug(err);
|
||||
ctx.Raven.captureException(err);
|
||||
ctx.Sentry.captureException(err);
|
||||
}
|
||||
}));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue