Crack butt
This commit is contained in:
@@ -43,7 +43,8 @@ function handleIncoming(request, response, app, pool)
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(_ => {
|
.catch(error => {
|
||||||
|
console.log(error);
|
||||||
response
|
response
|
||||||
.status(500)
|
.status(500)
|
||||||
.send(JSON.stringify({error: 'Internal server error (Querying)'}));
|
.send(JSON.stringify({error: 'Internal server error (Querying)'}));
|
||||||
@@ -52,7 +53,8 @@ function handleIncoming(request, response, app, pool)
|
|||||||
conn.end();
|
conn.end();
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(_ => {
|
.catch(error => {
|
||||||
|
console.log(error);
|
||||||
response
|
response
|
||||||
.status(500)
|
.status(500)
|
||||||
.send(JSON.stringify({error: 'Internal server error (Connection)'}));
|
.send(JSON.stringify({error: 'Internal server error (Connection)'}));
|
||||||
|
Reference in New Issue
Block a user