Skip to content

Commit

Permalink
feat: add errorMessage to screenshot api
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Dec 18, 2024
1 parent 8d1d558 commit 799e62b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/board/api/screenshot/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export async function POST(request: Request) {

return new NextResponse(`Error taking screenshot: ${errorObj.message}`, {
status: 500,
statusText: errorObj.message,
})
}
}

0 comments on commit 799e62b

Please sign in to comment.