working commit
This commit is contained in:
+1
-1
@@ -216,7 +216,7 @@ func (hand *Handler) GetBlob(rctx *router.Context) {
|
||||
defer res.ReadCloser.Close()
|
||||
_, err = io.Copy(rctx.Writer, res.ReadCloser)
|
||||
if err != nil {
|
||||
hand.logg.Errorf("GetFile error: %v", err)
|
||||
hand.logg.Errorf("GetBlob error: %v", err)
|
||||
rctx.SetStatus(http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user