summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/raven
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 16:01:22 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 16:01:22 +0100
commit97633d561681a5c0f55472c1372bedca5fe3bffe (patch)
tree2bf4f19e71b01f04452b37749692810369660ca6 /app/assets/javascripts/raven
parent0e8afe1343497165bf609a840306ce26c6136a7b (diff)
downloadgitlab-ce-97633d561681a5c0f55472c1372bedca5fe3bffe.tar.gz
Fixed specs
Diffstat (limited to 'app/assets/javascripts/raven')
-rw-r--r--app/assets/javascripts/raven/raven_config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/raven/raven_config.js b/app/assets/javascripts/raven/raven_config.js
index 6c20cd9aabd..43e55bc5415 100644
--- a/app/assets/javascripts/raven/raven_config.js
+++ b/app/assets/javascripts/raven/raven_config.js
@@ -61,7 +61,7 @@ const RavenConfig = {
environment: this.options.isProduction ? 'production' : 'development',
ignoreErrors: this.IGNORE_ERRORS,
ignoreUrls: this.IGNORE_URLS,
- shouldSendCallback: this.shouldSendSample,
+ shouldSendCallback: this.shouldSendSample.bind(this),
}).install();
},