Browse Source

Update Raven/Sentry

Thibaut 12 years ago
parent
commit
bc95cfdbfa
2 changed files with 7 additions and 1588 deletions
  1. 6 1
      assets/javascripts/app/app.coffee
  2. 1 1587
      assets/javascripts/vendor/raven.js

+ 6 - 1
assets/javascripts/app/app.coffee

@@ -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 it is too large
+ 1 - 1587
assets/javascripts/vendor/raven.js


Some files were not shown because too many files changed in this diff