diff --git a/lib/alias.js b/lib/alias.js index 1fe30af..e7a3f3a 100644 --- a/lib/alias.js +++ b/lib/alias.js @@ -352,7 +352,7 @@ export default class Alias extends Now { return bail(err); } - throw new Error(body.message); + throw new Error(body.error.message); } if (200 !== res.status && 304 !== res.status) {