0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

Merge pull request #55 from rchincha/500-status

This commit is contained in:
Ravi Chamarthy 2020-01-05 23:45:33 -08:00 committed by GitHub
commit 2b9d29c9a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")
}
}
}