Skip to content

Commit b27dd47

Browse files
Removed one line
1 parent cc727c5 commit b27dd47

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gohpts.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ func (p *proxyApp) handleForward(w http.ResponseWriter, r *http.Request) {
214214
n, err := io.Copy(w, resp.Body)
215215
if err != nil {
216216
p.logger.Error().Err(err).Msgf("Error during Copy() %s: %s", r.URL.String(), err)
217-
w.WriteHeader(http.StatusInternalServerError)
218217
return
219218
}
220219
var written string

0 commit comments

Comments
 (0)