@ministryofjustice/fb-jwt-client-node
Advanced tools
Comparing version 0.0.21-alpha to 0.0.21-beta
@@ -274,3 +274,3 @@ const request = require('request-promise-native') | ||
handleRequestError (err) { | ||
console.log('JWTCLIENT handleRequestError', err, err ? err.error : 'no err') | ||
console.log('JWTCLIENT handleRequestError', err.name, this.ErrorClass.name) | ||
// rethrow error if already client error | ||
@@ -321,3 +321,4 @@ if (err.name === this.ErrorClass.name) { | ||
message = message || code | ||
throw new this.ErrorClass({ | ||
throw new this.ErrorClass(message, { | ||
message, | ||
error: { | ||
@@ -324,0 +325,0 @@ code, |
{ | ||
"name": "@ministryofjustice/fb-jwt-client-node", | ||
"version": "0.0.21-alpha", | ||
"version": "0.0.21-beta", | ||
"description": "Form Builder JSON Web Token Client (Node)", | ||
@@ -5,0 +5,0 @@ "main": "lib/fb-jwt-client.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34844
863