Skip to content
Snippets Groups Projects
Unverified Commit 55cebd58 authored by Tomas Barton's avatar Tomas Barton
Browse files

print appropriate error

parent 60f47c42
No related branches found
No related tags found
No related merge requests found
...@@ -225,7 +225,7 @@ func (s *Server) handleAuthorization(w http.ResponseWriter, r *http.Request) { ...@@ -225,7 +225,7 @@ func (s *Server) handleAuthorization(w http.ResponseWriter, r *http.Request) {
connectors, e := s.storage.ListConnectors() connectors, e := s.storage.ListConnectors()
if e != nil { if e != nil {
s.logger.Errorf("Failed to get list of connectors: %v", err) s.logger.Errorf("Failed to get list of connectors: %v", e)
s.renderError(w, http.StatusInternalServerError, "Failed to retrieve connector list.") s.renderError(w, http.StatusInternalServerError, "Failed to retrieve connector list.")
return return
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment