Skip to content

Commit

Permalink
diagnostic logging
Browse files Browse the repository at this point in the history
  • Loading branch information
artlu99 committed Nov 3, 2024
1 parent 9836d47 commit da7fe7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/getSassyHashes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const onRequestPost: PagesFunction<Env> = async (context) => {
const sassyHashResponses = await fetchSassyHashExpensiveApi(fid, castHash, env);
return new Response(JSON.stringify(sassyHashResponses));
} else {
console.log('Error 500: User:', JSON.stringify(user));
return new Response(JSON.stringify({ error: 'Failed to fetch Farcaster FID' }), { status: 500 });
}
} catch (error) {
Expand Down

0 comments on commit da7fe7a

Please sign in to comment.