Skip to content

Commit

Permalink
Update route.ts with logging to see what happens on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
pulgueta authored Feb 10, 2024
1 parent 2bc3a7a commit 7a17277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/pdf/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const POST = async (req: NextRequest) => {

return NextResponse.json(file, { status: 201 });
} catch (error) {
console.error(error)
return NextResponse.json(error, { status: 500 });
}
};
Expand Down

0 comments on commit 7a17277

Please sign in to comment.