mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge branch 'master' into jpa-csh-tracing-end-time-from-fs
This commit is contained in:
@@ -128,13 +128,11 @@ const Logger = (module.exports = {
|
||||
this.raven.captureException(error, { tags, extra, level })
|
||||
|
||||
// put a flag on the errors to avoid reporting them multiple times
|
||||
const result = []
|
||||
for (key in attributes) {
|
||||
value = attributes[key]
|
||||
if (value instanceof Error) {
|
||||
value.reportedToSentry = true
|
||||
}
|
||||
return result
|
||||
}
|
||||
} catch (err) {
|
||||
// ignore Raven errors
|
||||
|
||||
Reference in New Issue
Block a user