sintaxi/node-dbox — pull request #42 by jeremycondon (2012-08-24 22:27:03+00:00)
Title: Fixed issues with callbacks when errors are returned

The callbacks when errors are encountered attempt to parse the output on each of the verbs. Changes is as follows
cb(e ? null : r.statusCode, JSON.parse(b))
cb(e ? null : r.statusCode, e ? null : JSON.parse(b))