|
|
@@ -1,3 +1,4 @@
|
|
|
+const OError = require('@overleaf/o-error')
|
|
|
const RATE_LIMIT_MAX_ERRORS = 5
|
|
|
const RATE_LIMIT_INTERVAL_MS = 60000
|
|
|
|
|
|
@@ -95,6 +96,9 @@ class SentryManager {
|
|
|
error = newError
|
|
|
}
|
|
|
|
|
|
+ // OError integration
|
|
|
+ extra.info = OError.getFullInfo(error)
|
|
|
+
|
|
|
// filter paths from the message to avoid duplicate errors in sentry
|
|
|
// (e.g. errors from `fs` methods which have a path attribute)
|
|
|
try {
|