diff --git a/app.js b/app.js index 500f01a..17dff54 100644 --- a/app.js +++ b/app.js @@ -64,7 +64,7 @@ const handler = async (event) => { }; } catch (err) { return createErrorResponse( - 422, + 500, err.message || "Error encountered while capturing screenshot.", ); }