Showing the changes to assets/javascripts/app (1 of 2 files). Show all
Unified · Split
| @@ -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 | else | 46 | else |
| 47 | Raven.config(@config.sentry_dsn).install() if @config.sentry_dsn | 47 | if @config.sentry_dsn |
| 48 | Raven.config @config.sentry_dsn, | ||
| 49 | whitelistUrls: [/devdocs/] | ||
| 50 | includePaths: [/devdocs/] | ||
| 51 | ignoreErrors: [/dpQuery/] | ||
| 52 | .install() | ||
| 48 | @previousErrorHandler = onerror | 53 | @previousErrorHandler = onerror |
| 49 | window.onerror = @onWindowError.bind(@) | 54 | window.onerror = @onWindowError.bind(@) |
| 50 | return | 55 | return |