Update Raven/Sentry

pull/62/merge
Thibaut 11 years ago
parent 76763e6667
commit bc95cfdbfa

@ -44,7 +44,12 @@
if @isInvalidLocation()
new app.views.Notif 'InvalidLocation'
else
Raven.config(@config.sentry_dsn).install() if @config.sentry_dsn
if @config.sentry_dsn
Raven.config @config.sentry_dsn,
whitelistUrls: [/devdocs/]
includePaths: [/devdocs/]
ignoreErrors: [/dpQuery/]
.install()
@previousErrorHandler = onerror
window.onerror = @onWindowError.bind(@)
return

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save