less noisy errors
This commit is contained in:
parent
0f4a289a4d
commit
9371006838
1 changed files with 7 additions and 2 deletions
|
|
@ -43,8 +43,6 @@ export const oauthTransitions: Record<OAuthStep, StateTransition> = {
|
|||
authServerUrl = new URL(resourceMetadata.authorization_servers[0]);
|
||||
}
|
||||
} catch (e) {
|
||||
console.info(`Failed to find protected resource metadata: ${e}`);
|
||||
console.log(e);
|
||||
if (e instanceof Error) {
|
||||
resourceMetadataError = e;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue