Skip to content

Commit 1c077cf

Browse files
committed
log error when backup not found
1 parent 7ab49a1 commit 1c077cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backupManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export class BackupManager {
5959
const backup = this.backups.find((backup) => backup.id === id);
6060

6161
if (!backup) {
62+
console.error(`Backup with id ${id} not found.`);
6263
return;
6364
}
6465

0 commit comments

Comments
 (0)