Permalink
Browse files

Handle node being completely down.

  • Loading branch information...
1 parent e900bd3 commit 53b755d0ef52cf319e593bde537d5010ecf84bae @cmeiklejohn cmeiklejohn committed Apr 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 priv/admin/js/cluster.js
View
@@ -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);

0 comments on commit 53b755d

Please sign in to comment.