Browse Source

alias: improve error

master
Guillermo Rauch 9 years ago
parent
commit
114da38c25
  1. 2
      lib/alias.js

2
lib/alias.js

@ -352,7 +352,7 @@ export default class Alias extends Now {
return bail(err); return bail(err);
} }
throw new Error(body.message); throw new Error(body.error.message);
} }
if (200 !== res.status && 304 !== res.status) { if (200 !== res.status && 304 !== res.status) {

Loading…
Cancel
Save