Comparing version
@@ -0,1 +1,7 @@ | ||
#### 1.0.4 (2018-07-13) | ||
##### Bug Fixes | ||
* no-ticket: remove options trace (c5646340) | ||
#### 1.0.3 (2018-07-13) | ||
@@ -2,0 +8,0 @@ |
@@ -24,5 +24,3 @@ /* istanbul ignore file */ | ||
if (instance.constructor.name === 'Object') { | ||
this.message = `Unexpected status code: ${instance.httpStatusCode}, Body: ${instance.httpBody}, Options: ${util.inspect(instance.options, { | ||
depth: 4 | ||
})}` | ||
this.message = `Unexpected status code: ${instance.httpStatusCode}, Body: ${instance.httpBody}` | ||
} else { | ||
@@ -29,0 +27,0 @@ this.message = 'Unexpected Status Code Error'; |
{ | ||
"name": "trembita", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Request wrapper core for consuming third party services", |
@@ -188,3 +188,3 @@ const { should, expect } = require('chai'); | ||
.catch(UnexpectedStatusCodeError, (err) => { | ||
const message = `Unexpected status code: 404, Body: undefined, Options: { url: \'/profiles/1\', expectedCodes: [ 200 ] }` | ||
const message = `Unexpected status code: 404, Body: undefined` | ||
expect(err.message).to.equal(message) | ||
@@ -191,0 +191,0 @@ expect(err.toJSON()).to.deep.equal({ message }) |
104313
-0.04%359
-0.55%