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:
commit
2b9d29c9a2
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue