We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7b96d commit cbbf035Copy full SHA for cbbf035
lib/baseClasses/HttpError.js
@@ -159,7 +159,8 @@ HttpError.prototype.toJSON = function toJSON() {
159
160
return {
161
code: self.body.code,
162
- message: message
+ message: message,
163
+ cause: self.cause
164
};
165
166
package.json
@@ -44,8 +44,8 @@
44
"mkdirp": "^0.5.1",
45
"mocha": "^6.2.2",
46
"nyc": "^14.1.1",
47
- "restify": "^8.5.0",
48
- "restify-clients": "^2.6.7",
+ "restify": "^11.1.0",
+ "restify-clients": "^4.2.0",
49
"unleash": "^2.0.1"
50
},
51
"optionalDependencies": {
0 commit comments