summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-03 14:47:21 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-03 14:47:21 +0100
commitb0dfc741c499ec72c5cad53fc1bb1ed65ee38e70 (patch)
treeef2c8a6dd03ecf9c1c9bc57ded437b71e5f3bad0
parent36c6447f9de74039f374a49f9c29ce370fb45ee2 (diff)
downloadgitlab-ce-b0dfc741c499ec72c5cad53fc1bb1ed65ee38e70.tar.gz
[ci skip] Removed substring
-rw-r--r--app/assets/javascripts/raven/raven_config.js2
-rw-r--r--spec/javascripts/raven/raven_config_spec.js6
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,
},