mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 05:23:40 -05:00
avoid uninitialised last error timestamp
This commit is contained in:
parent
6e3f102fb2
commit
68b941357e
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ module.exports = Logger =
|
|||
initializeErrorReporting: (sentry_dsn, options) ->
|
||||
raven = require "raven"
|
||||
@raven = new raven.Client(sentry_dsn, options)
|
||||
@lastErrorTimeStamp = 0 # for rate limiting on sentry reporting
|
||||
|
||||
captureException: (attributes, message, level) ->
|
||||
# handle case of logger.error "message"
|
||||
|
|
Loading…
Reference in a new issue