Use HTTP Not Found rather than Internal server error for logs not found
This commit is contained in:
parent
444fdaa947
commit
d43e48053f
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ func (s *Server) routeLogs(w http.ResponseWriter, r *http.Request) bool {
|
|||
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
http.Error(w, "could not load logs", http.StatusInternalServerError)
|
||||
http.Error(w, "could not load logs", http.StatusNotFound)
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue