eh-api-client
Advanced tools
Comparing version 0.24.0 to 0.24.1
@@ -37,2 +37,3 @@ var | ||
} | ||
error.httpStatus = res.statusCode; | ||
if(res.statusCode >= 500 && res.statusCode < 600 && !error.hasOwnProperty("name")) { | ||
@@ -39,0 +40,0 @@ error.name = "ServerError"; |
{ | ||
"name": "eh-api-client", | ||
"version": "0.24.0", | ||
"version": "0.24.1", | ||
"description": "Node.js rest client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
26111
879