Skip to content

Commit

Permalink
fix: Avoid panic when unknown URL schemes are used
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 14, 2021
1 parent cdac464 commit 5b50963
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/chezmoilog/chezmoilog.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ func LogHTTPRequest(logger *zerolog.Logger, client *http.Client, req *http.Reque
logger.Err(err).
Stringer("duration", time.Since(start)).
Str("method", req.Method).
Int64("size", resp.ContentLength).
Stringer("url", req.URL).
Msg("HTTPRequest")
}
Expand Down

0 comments on commit 5b50963

Please sign in to comment.