Feat: after uploading finished hook

This commit is contained in:
HFO4
2019-11-18 19:32:06 +08:00
parent aa17aa8e6a
commit 2e9f256462
7 changed files with 39 additions and 15 deletions

View File

@@ -48,8 +48,8 @@ func (handler Handler) Delete(ctx context.Context, files []string) ([]string, er
err := os.Remove(value)
if err == nil {
deleted = append(deleted, value)
util.Log().Warning("无法删除文件,%s", err)
} else {
util.Log().Warning("无法删除文件,%s", err)
retErr = err
}
}