Add more debug output to worker
This commit is contained in:
parent
82fa61f5d5
commit
46142d12de
2 changed files with 9 additions and 3 deletions
|
@ -54,7 +54,8 @@ export default function* () {
|
|||
|
||||
this.body = share;
|
||||
} catch (e) {
|
||||
this.throw(400, { error: { message: 'Unexpected error looking up music. Please try again later.' } });
|
||||
debug(e);
|
||||
this.throw(500, { error: { message: 'Unexpected error looking up music. Please try again later.' } });
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue