History

Update Raven/Sentry

Thibaut committed 12 years ago

Commit bc95cfd1 parent 76763e62 files · +9 −1588Browse files

Showing the changes to assets/javascripts/app (1 of 2 files). Show all

Unified · Split

assets/javascripts/app/app.coffee+6−1
@@ -44,7 +44,12 @@ · 43 unmodified lines
44 if @isInvalidLocation()44 if @isInvalidLocation()
45 new app.views.Notif 'InvalidLocation'45 new app.views.Notif 'InvalidLocation'
46 else46 else
47 Raven.config(@config.sentry_dsn).install() if @config.sentry_dsn47 if @config.sentry_dsn
48 Raven.config @config.sentry_dsn,
49 whitelistUrls: [/devdocs/]
50 includePaths: [/devdocs/]
51 ignoreErrors: [/dpQuery/]
52 .install()
48 @previousErrorHandler = onerror53 @previousErrorHandler = onerror
49 window.onerror = @onWindowError.bind(@)54 window.onerror = @onWindowError.bind(@)
50 return55 return