diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-03 14:47:21 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-03 14:47:21 +0100 |
commit | b0dfc741c499ec72c5cad53fc1bb1ed65ee38e70 (patch) | |
tree | ef2c8a6dd03ecf9c1c9bc57ded437b71e5f3bad0 | |
parent | 36c6447f9de74039f374a49f9c29ce370fb45ee2 (diff) | |
download | gitlab-ce-b0dfc741c499ec72c5cad53fc1bb1ed65ee38e70.tar.gz |
[ci skip] Removed substring
-rw-r--r-- | app/assets/javascripts/raven/raven_config.js | 2 | ||||
-rw-r--r-- | spec/javascripts/raven/raven_config_spec.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/raven/raven_config.js b/app/assets/javascripts/raven/raven_config.js index 43e55bc5415..c7fe1cacf49 100644 --- a/app/assets/javascripts/raven/raven_config.js +++ b/app/assets/javascripts/raven/raven_config.js @@ -85,7 +85,7 @@ const RavenConfig = { url: config.url, data: config.data, status: req.status, - response: responseText.substring(0, 100), + response: responseText, error, event, }, diff --git a/spec/javascripts/raven/raven_config_spec.js b/spec/javascripts/raven/raven_config_spec.js index b4c35420f90..7b3bef3162d 100644 --- a/spec/javascripts/raven/raven_config_spec.js +++ b/spec/javascripts/raven/raven_config_spec.js @@ -1,7 +1,7 @@ import Raven from 'raven-js'; import RavenConfig from '~/raven/raven_config'; -describe('RavenConfig', () => { +fdescribe('RavenConfig', () => { describe('IGNORE_ERRORS', () => { it('should be an array of strings', () => { const areStrings = RavenConfig.IGNORE_ERRORS.every(error => typeof error === 'string'); @@ -190,7 +190,7 @@ describe('RavenConfig', () => { url: config.url, data: config.data, status: req.status, - response: req.responseText.substring(0, 100), + response: req.responseText, error: err, event, }, @@ -211,7 +211,7 @@ describe('RavenConfig', () => { url: config.url, data: config.data, status: req.status, - response: req.responseText.substring(0, 100), + response: req.responseText, error: req.statusText, event, }, |