From 29944bce573e2d1a569bea09e79a305a0fbcb3cf Mon Sep 17 00:00:00 2001 From: Luca Warmenhoven Date: Tue, 28 May 2024 12:07:07 +0200 Subject: [PATCH] Crack butt --- .idea/workspace.xml | 18 ++++++++++++++---- code/web/incoming_request_handlers.js | 4 ++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f242400..691e0e6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -14,7 +14,8 @@ - + + @@ -384,6 +393,7 @@ - \ No newline at end of file diff --git a/code/web/incoming_request_handlers.js b/code/web/incoming_request_handlers.js index 2d13b29..79609e5 100644 --- a/code/web/incoming_request_handlers.js +++ b/code/web/incoming_request_handlers.js @@ -46,7 +46,7 @@ function handleIncoming(request, response, app, pool) .catch(_ => { response .status(500) - .send(JSON.stringify({error: 'Internal server error'})); + .send(JSON.stringify({error: 'Internal server error (Querying)'})); }) .finally(() => { conn.end(); @@ -55,7 +55,7 @@ function handleIncoming(request, response, app, pool) .catch(_ => { response .status(500) - .send(JSON.stringify({error: 'Internal server error'})); + .send(JSON.stringify({error: 'Internal server error (Connection)'})); }); }