Skip to content

Commit

Permalink
log internal error
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillezi committed Jul 21, 2024
1 parent b6e0e70 commit 28e6248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func ForwardRequest(apiURL string) http.HandlerFunc {
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
log.Errorln("Error forwarding request", http.StatusInternalServerError)
log.Errorln("Error forwarding request", err)
http.Error(w, "Error forwarding request", http.StatusInternalServerError)
return
}
Expand Down

0 comments on commit 28e6248

Please sign in to comment.