Skip to content

Commit

Permalink
ignore error explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
refs committed Jul 19, 2021
1 parent 7f8e5d0 commit ebb6747
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proxy/pkg/webdav/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,5 @@ func HandleWebdavError(w http.ResponseWriter, b []byte, err error) {
w.WriteHeader(http.StatusInternalServerError)
return
}
_, err = w.Write(b)
if err != nil {
}
_, _ = w.Write(b)
}

0 comments on commit ebb6747

Please sign in to comment.