Crack butt

This commit is contained in:
Luca Warmenhoven
2024-05-28 12:07:07 +02:00
parent caa7599518
commit 29944bce57
2 changed files with 16 additions and 6 deletions

View File

@@ -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)'}));
});
}