Fix Raven
This commit is contained in:
parent
bb5189c9ed
commit
7607759e3f
4 changed files with 17 additions and 25 deletions
|
@ -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.captureError(err);
|
||||
ctx.Raven.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.captureError(err);
|
||||
ctx.Raven.captureException(err);
|
||||
}
|
||||
}));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue