Comparing version 2.0.0 to 2.0.1
@@ -167,3 +167,3 @@ /* | ||
if (responseObj.statusCode !== 200) { | ||
callback(new Error('Request did not return 200 OK')); | ||
callback(new Error('Request did not return 200 OK: ' + responseObj.statusCode)); | ||
return; | ||
@@ -170,0 +170,0 @@ } |
{ | ||
"name": "batchelor", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A lovely little Node.js module to perform batch requests with the Google REST API", | ||
@@ -5,0 +5,0 @@ "main": "./lib/batchelor", |
@@ -193,2 +193,3 @@ # Batchelor | ||
* 2.0.1 Include response status code in error | ||
* 2.0.0 Bug Fixes and Improvements | ||
@@ -195,0 +196,0 @@ * 1.0.0 The API was changed in 1.0 to move from a singleton instance to a constructor (Thanks again to [@bradvogel](https://github.com/bradvogel)) |
16973
207