Minor bugfixes for groove and deezer

This commit is contained in:
Jonathan Cremin 2017-05-26 19:47:17 +01:00
parent cfaef8be94
commit 2693afb2bd
7 changed files with 27 additions and 23 deletions

View file

@ -2,7 +2,7 @@ import debuglog from 'debug';
const debug = debuglog('match.audio');
export default function () {
export default function (raven) {
return function* error(next) {
this.set('Server', 'Nintendo 64');
try {
@ -15,6 +15,7 @@ export default function () {
this.body = err.error;
} else {
debug('Error: %o', err);
raven.captureException(err);
throw err;
}
}