mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
Merge pull request #55 from rchincha/500-status
This commit is contained in:
+1
-1
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user