1
0
mirror of synced 2025-12-21 10:57:10 -05:00

include URL in middleware error handling to FailBot (#31617)

This commit is contained in:
Peter Bengtsson
2022-10-12 13:17:23 +02:00
committed by GitHub
parent 3dec3c7294
commit 77d2ca5955

View File

@@ -23,6 +23,7 @@ async function logException(error, req) {
if (process.env.NODE_ENV !== 'test' && shouldLogException(error)) {
await FailBot.report(error, {
path: req.path,
url: req.url,
})
}
}