Skip to content

Commit

Permalink
feat: log details
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn-Huang-Tron committed Sep 21, 2023
1 parent f1bf5f7 commit 470c2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var RecoveryCmd = &cmds.Command{
if err := UnTar(backupPath, dstPath); err != nil {
err = UnZip(backupPath, dstPath)
if err != nil {
return errors.New("your file format is not tar.gz or zip, please check again")
return errors.New("your file is not exists or your file format is not tar.gz or zip, please check again")
}
}
fmt.Println("Recovery successful!")
Expand Down

0 comments on commit 470c2d1

Please sign in to comment.