Skip to content

Commit

Permalink
Update src/accounts/openid.js
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
lelemm and coderabbitai[bot] authored Nov 11, 2024
1 parent 2a49e21 commit f0d45e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/accounts/openid.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ export async function loginWithOpenIdSetup(returnUrl) {
try {
client = await setupOpenIdClient(config);
} catch (err) {
return { error: 'openid-setup-failed: ' + err };
console.error('Error setting up OpenID client:', err);
return { error: 'openid-setup-failed' };
}

const state = generators.state();
Expand Down

0 comments on commit f0d45e3

Please sign in to comment.