Skip to content

Commit

Permalink
fix: adding forgotten error to log error
Browse files Browse the repository at this point in the history
  • Loading branch information
WendelHime committed Oct 25, 2024
1 parent e271a89 commit 68e28ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ func (p *Proxy) listenWATER(addr string) (net.Listener, error) {

mismatchProtocol, err := strconv.Atoi(p.WaterMismatchProtocol)
if err != nil {
return nil, log.Errorf("failed to parse mismatch protocol")
return nil, log.Errorf("failed to parse mismatch protocol: %w", err)
}

switch mismatchProtocol {
Expand Down

0 comments on commit 68e28ef

Please sign in to comment.