Showing the changes to assets/javascripts/app (1 of 2 files). Show all
Unified · Split
| @@ -44,7 +44,12 @@ · 43 unmodified lines | ||
| 44 | 44 | if @isInvalidLocation() |
| 45 | 45 | new app.views.Notif 'InvalidLocation' |
| 46 | 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 | 53 | @previousErrorHandler = onerror |
| 49 | 54 | window.onerror = @onWindowError.bind(@) |
| 50 | 55 | return |