Skip to content

Commit

Permalink
Error log message added
Browse files Browse the repository at this point in the history
  • Loading branch information
b00lduck committed Jul 11, 2016
1 parent d76cc0e commit bd3628f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composition/composition_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (agg *CompositionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
if fetcher.Empty() {
w.WriteHeader(500)
w.Write([]byte("Internal server error"))
logging.Application(r.Header).Error("No fetchers available for composition, throwing error 500")
return
}

Expand Down

0 comments on commit bd3628f

Please sign in to comment.