include URL in middleware error handling to FailBot (#31617)
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user