mirror of
https://github.com/mollersuite/monofile.git
synced 2024-10-06 12:06:26 -07:00
log email errors so i can figure out wtf is going on
This commit is contained in:
parent
09feefffcd
commit
99a0800128
|
@ -287,6 +287,7 @@ authRoutes.post("/request_email_change", requiresAccount, (req,res) => {
|
||||||
let e = verificationCodes.get(acc?.id||"")?.expiry
|
let e = verificationCodes.get(acc?.id||"")?.expiry
|
||||||
if (e) clearTimeout(e)
|
if (e) clearTimeout(e)
|
||||||
verificationCodes.delete(acc?.id||"")
|
verificationCodes.delete(acc?.id||"")
|
||||||
|
console.error(err?.toString())
|
||||||
ServeError(res, 500, err?.toString())
|
ServeError(res, 500, err?.toString())
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue