Skip to content

Commit

Permalink
Merge pull request #469 from stephendotexe/update-404-error-message
Browse files Browse the repository at this point in the history
Clarify error message.
  • Loading branch information
spenceralger committed Sep 7, 2013
2 parents c6d8ea2 + 6a9a2b9 commit 58ccc29
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ angular.module('kibana.services', [])
if(status === 0) {
alertSrv.set('Error',"Could not contact Elasticsearch at "+config.elasticsearch+
". Please ensure that Elasticsearch is reachable from your system." ,'error');
} else {
alertSrv.set('Error',"Could not find "+config.elasticsearch+"/"+indices.join(',')+"/_mapping. If you"+
" are using a proxy, ensure it is configured correctly",'error');
} else {
alertSrv.set('Error',"No index found at "+config.elasticsearch+"/" +
indices.join(',')+"/_mapping. Please create at least one index." +
"If you're using a proxy ensure it is configured correctly.",'error');
}
});

Expand Down Expand Up @@ -963,4 +964,4 @@ angular.module('kibana.services', [])
return false;
});
};
});
});

0 comments on commit 58ccc29

Please sign in to comment.