mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
better logging
This commit is contained in:
@@ -21,7 +21,7 @@ export default async function userHandler(
|
||||
booking = await createBooking(req.body)
|
||||
} catch (e) {
|
||||
// TODO: add validation for booking on same day
|
||||
log.error('Failed to store booking', e)
|
||||
log.error('Failed to store booking with', e.toString())
|
||||
res.status(500).end(`Internal Server Error...Guru is meditating...`)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user