mirror of
https://github.com/pockethost/pockethost.git
synced 2025-11-27 15:53:49 +00:00
daemon: remove unneeded error logging
This commit is contained in:
parent
7dfad4719b
commit
07124a8948
@ -66,7 +66,6 @@ export async function daemon() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const errorHandler: ErrorRequestHandler = (err: Error, req, res, next) => {
|
const errorHandler: ErrorRequestHandler = (err: Error, req, res, next) => {
|
||||||
console.log(`###error`, err)
|
|
||||||
discordAlert(err)
|
discordAlert(err)
|
||||||
res.status(500).send(err.toString())
|
res.status(500).send(err.toString())
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user