Comparing version 0.1.1 to 0.1.2
@@ -70,3 +70,4 @@ if (!global.Promise) { | ||
if (ourRes.status >= 400) { | ||
var e = new Error('Response error ' + ourRes.status + ', see .response'); | ||
var e = new Error('Response error:\n' | ||
+ JSON.stringify(ourRes, null, 2)); | ||
e.response = ourRes; | ||
@@ -73,0 +74,0 @@ reject(e); |
{ | ||
"name": "preq", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Yet another promising request wrapper", | ||
@@ -5,0 +5,0 @@ "main": "index.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
3001
81