Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle node being completely down.

  • Loading branch information...
commit 53b755d0ef52cf319e593bde537d5010ecf84bae 1 parent e900bd3
@cmeiklejohn cmeiklejohn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  priv/admin/js/cluster.js
View
2  priv/admin/js/cluster.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.