Merge branch 'master' into jpa-csh-tracing-end-time-from-fs

This commit is contained in:
Christopher Hoskin
2020-06-19 11:41:15 +01:00
5 changed files with 34 additions and 9 deletions
-2
View File
@@ -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