fix: backup file auto delete

This commit is contained in:
henry.chen
2025-04-22 15:12:50 +08:00
parent c06a32a268
commit 0fe849ae67
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ func Start(restore bool) (err error) {
for now := range t.C {
err = storage.BackupData(now)
if err != nil {
logrus.Error("timer: Start.BackupData: ", now, err)
logrus.Error("timer: Start.BackupData: ", now.Format(time.RFC3339), err)
}
}
return nil