Skip to content
This repository has been archived by the owner on Apr 5, 2020. It is now read-only.

Commit

Permalink
return a error in LoadBalancer.setErrorPage
Browse files Browse the repository at this point in the history
  • Loading branch information
adregner committed Mar 31, 2013
1 parent 3a0fd66 commit 7c4434e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cloudloadbalancers/loadbalancer.js
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ LoadBalancer.prototype = {

self.client.authorizedRequest(requestOptions, function(err, res, body) {
if (err || !body.errorpage) {
callback(err);
callback(err ? err : body);
return;
}

Expand Down

0 comments on commit 7c4434e

Please sign in to comment.