Skip to content

Commit

Permalink
log oauth errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerFisher committed Jan 28, 2025
1 parent 9a0a3f3 commit 1f48505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/bluesky.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const handleBlueskyOAuth = async (account: { did: string }) => {
const client = await createOAuthClient();
oauthSession = await client.restore(account.did);
} catch (error) {
console.error("Error restoring Bluesky OAuth session", error);
if (error instanceof OAuthResponseError) {
const client = await createOAuthClient();
oauthSession = await client.restore(account.did);
Expand Down

0 comments on commit 1f48505

Please sign in to comment.