From 470c2d1b0d4ae2f854683f729ea7f9df2a2c5f49 Mon Sep 17 00:00:00 2001 From: shawn Date: Thu, 21 Sep 2023 15:44:47 +0800 Subject: [PATCH] feat: log details --- core/commands/backup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/backup.go b/core/commands/backup.go index 989c569e2..1de94bf16 100644 --- a/core/commands/backup.go +++ b/core/commands/backup.go @@ -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!")