Unified · Split
| @@ -51,6 +51,7 @@ · 50 unmodified lines | ||
| 51 | 51 | else |
| 52 | 52 | if @config.sentry_dsn |
| 53 | 53 | Raven.config @config.sentry_dsn, |
| 54 | + release: @config.release | |
| 54 | 55 | whitelistUrls: [/devdocs/] |
| 55 | 56 | includePaths: [/devdocs/] |
| 56 | 57 | ignoreErrors: [/NPObject/, /NS_ERROR/, /^null$/] |
| @@ -68,6 +69,7 @@ · 11 unmodified lines | ||
| 68 | 69 | dataCallback: (data) -> |
| 69 | 70 | try |
| 70 | 71 | $.extend(data.user ||= {}, app.settings.dump()) |
| 72 | + data.user.docs = data.user.docs.split('/') if data.user.docs | |
| 71 | 73 | data.user.lastIDBTransaction = app.lastIDBTransaction if app.lastIDBTransaction |
| 72 | 74 | data |
| 73 | 75 | .install() |
| @@ -11,3 +11,4 @@ app.config = · 10 unmodified lines | ||
| 11 | 11 | search_param: 'q' |
| 12 | 12 | sentry_dsn: '<%= App.sentry_dsn %>' |
| 13 | 13 | version: <%= Time.now.to_i %> |
| 14 | + release: <%= Time.now.utc.httpdate.to_json %> | |