Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2022-08-25 15:54:07 +01:00
parent ed92f732a1
commit ec74f25794
@@ -86,7 +86,7 @@ export class DefaultIdentityClient implements IdentityApi {
getBearerTokenFromAuthorizationHeader(request.headers.authorization),
);
} catch (e) {
throw new NotAllowedError('Failed to authenticate the provided token');
throw new NotAllowedError(e.message);
}
}