Skip to content

Commit

Permalink
martian: fix invalid error printing
Browse files Browse the repository at this point in the history
Fixes #667
  • Loading branch information
mmatczuk committed Feb 15, 2024
1 parent 789680c commit 80a0f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/martian/proxy_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (p proxyHandler) handleUpgradeResponse(rw http.ResponseWriter, req *http.Re
res.Body = nil

if err := p.tunnel(resUpType, rw, req, res, uconn); err != nil {
log.Errorf(ctx, "%s tunnel: %w", resUpType, err)
log.Errorf(ctx, "%s tunnel: %v", resUpType, err)
panic(http.ErrAbortHandler)
}
}
Expand Down

0 comments on commit 80a0f4c

Please sign in to comment.