Skip to content

Commit

Permalink
fix: missed a single log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
cuotos committed Aug 16, 2021
1 parent c9a8772 commit 253fd87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (a *App) handleIndex() http.HandlerFunc {
return func(writer http.ResponseWriter, request *http.Request) {
containers, err := a.DockerClient.getRunningContainers(a.Config.Label)
if err != nil {
log.Println(err)
log.Printf("[ERROR] %s\n", err)
http.Error(writer, http.StatusText(500), 500)
return
}
Expand Down

0 comments on commit 253fd87

Please sign in to comment.