Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoraschi committed Jan 29, 2016
1 parent cbfc47f commit 43d9224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http/HttpResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function HttpResponse (data, message, httpStatusCode, errorCode, moreInfo, succe
this.constructor.prototype.__proto__ = Error.prototype;
Error.captureStackTrace(this, this.constructor);
this.type = this.constructor.name;
this.message = message ? message + '' : '';
this.message = message + '';
this.status = parseInt(httpStatusCode, 10);
this.success = !!success;
moreInfo && (this.moreInfo = moreInfo);
Expand Down

0 comments on commit 43d9224

Please sign in to comment.