Skip to content

Commit

Permalink
eror
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Agnihotri committed Dec 6, 2024
1 parent 5d04e33 commit 869b5da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/utils/requestUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function cloneRequest(request: NextRequest, url: string) {

return new NextResponse(clonedResponse.body, { headers });
} catch (error) {
console.error('Error:', error);
return NextResponse.json({ error: 'Something went wrong' }, { status: 500 });
console.log('Error:', error);
return NextResponse.json({ error: error }, { status: 500 });
}
}

0 comments on commit 869b5da

Please sign in to comment.