错误信息打印
This commit is contained in:
parent
ee5e6d6df4
commit
ea331a2253
@ -204,7 +204,7 @@ func (f *FilesProvider) TusUpload(ctx context.Context, req *filesApi.TusUploadRe
|
||||
return nil, fmt.Errorf("上传路径不能是文件夹 %s", file.RealPath())
|
||||
case file.Size != req.UploadOffset:
|
||||
return nil, fmt.Errorf(
|
||||
"%s 文件大小符合: %d",
|
||||
"%s 文件大小不符合: %d",
|
||||
file.RealPath(),
|
||||
req.UploadOffset,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user