Open
Description
When throwing an error in the getJwks method because the status code isn't right, we have the following argument for the JwksError: res.body && (res.body.message || res.body) || res.statusMessage ||
Http Error ${res.statusCode}``.
By set logic res.body && (res.body.message || res.body)
will always be res.body
. Therefore, either (res.body.message || res.body)
is not necessary or we should change one of the logic operators.
Metadata
Metadata
Assignees
Labels
No labels