Add initial Amazon Music support
This commit is contained in:
parent
bd85678303
commit
b0fcf55071
25 changed files with 248 additions and 222 deletions
|
@ -1,6 +1,7 @@
|
|||
import { parse } from 'url';
|
||||
import kue from 'kue';
|
||||
import debuglog from 'debug';
|
||||
import { inspect } from 'util';
|
||||
|
||||
import lookup from '../lib/lookup';
|
||||
import services from '../lib/services';
|
||||
|
@ -57,7 +58,7 @@ export default function* () {
|
|||
|
||||
this.body = share;
|
||||
} catch (e) {
|
||||
debug(e);
|
||||
debug(inspect(e, {showHidden: false, depth: null}));
|
||||
this.throw(400, { error: { message: 'Unexpected error looking up music. Please try again later.' } });
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue