diff --git a/lib/auth/m2m.js b/lib/auth/m2m.js index 843770d..03d2e8d 100644 --- a/lib/auth/m2m.js +++ b/lib/auth/m2m.js @@ -72,7 +72,7 @@ module.exports = function (config) { ' AUTH0_CLIENT_SECRET, AUTH0_AUDIENCE, AUTH0_PROXY_SERVER_URL') ) } else { - reject(new Error('Unknown Error')) + reject(new Error(body)) } }) }