Browse Source

修复日志问题

gitlink
Sydonian 1 year ago
parent
commit
689acecd44
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/internal/http/object.go

+ 1
- 1
client/internal/http/object.go View File

@@ -121,7 +121,7 @@ func (s *ObjectService) Download(ctx *gin.Context) {


n, err := io.Copy(ctx.Writer, file.File) n, err := io.Copy(ctx.Writer, file.File)
if err != nil { if err != nil {
ctx.String(http.StatusInternalServerError, err.Error())
log.Warnf("copying file: %s", err.Error())
} }


// TODO 当client不在某个代理节点上时如何处理? // TODO 当client不在某个代理节点上时如何处理?


Loading…
Cancel
Save