Skip to content

Commit

Permalink
Handle node being completely down.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeiklejohn committed Apr 12, 2013
1 parent e900bd3 commit 53b755d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/admin/js/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ minispade.register('cluster', function() {
},

error: function (jqXHR, textStatus, errorThrown) {
if(jqXHR.status === 404) {
if(jqXHR.status === 404 || jqXHR.status === 0) {
self.get('displayError').call(self, undefined, undefined, "The node hosting Riak Control is unavailable.");
} else {
self.get('displayError').call(self, jqXHR, textStatus, errorThrown);
Expand Down

0 comments on commit 53b755d

Please sign in to comment.