Skip to content

Commit

Permalink
chore: update error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Nov 20, 2024
1 parent 7b6dba1 commit 6372c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (b *Base) isFileNeeded(name string) bool {

func (b *Base) Upload(destDir string, tryLink, detectMime, changeMediaHash bool, upload uploadFunc, mkdir func(string) error) error {
if !b.checkVideoFilesExist() {
return errors.Errorf("no video file")
return errors.Errorf("torrent has no video file(s)")
}
os.MkdirAll(destDir, os.ModePerm)

Expand Down

0 comments on commit 6372c5c

Please sign in to comment.