diff --git a/pkg/api/routes.go b/pkg/api/routes.go index db71db65..9c3e4413 100644 --- a/pkg/api/routes.go +++ b/pkg/api/routes.go @@ -920,7 +920,7 @@ func WriteDataFromReader(w http.ResponseWriter, status int, length int64, mediaT break } else if err != nil { // other kinds of intermittent errors can occur, e.g, io.ErrShortWrite - logger.Error().Err(err).Msg("copying data into http response") + logger.Panic().Err(err).Msg("copying data into http response") } } }