mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08: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
|
||||
if (e) clearTimeout(e)
|
||||
verificationCodes.delete(acc?.id||"")
|
||||
console.error(err?.toString())
|
||||
ServeError(res, 500, err?.toString())
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue