Skip to content

Commit

Permalink
Merge pull request #28 from appirio-tech/dev
Browse files Browse the repository at this point in the history
printing whole response body if any error occured while fetching m2m token
  • Loading branch information
sachin-maheshwari committed Oct 8, 2020
2 parents 6af7579 + 98d1016 commit 081138e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/m2m.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
})
}
Expand Down

0 comments on commit 081138e

Please sign in to comment.