From c0a8cb33ad9ad3019a57ac5646a00b158d84ca14 Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Tue, 26 Sep 2023 19:04:39 +0200 Subject: [PATCH] less verbose output when not finding common snapshot --- zfs_autobackup/ZfsDataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zfs_autobackup/ZfsDataset.py b/zfs_autobackup/ZfsDataset.py index c123fe6..7a5b83c 100644 --- a/zfs_autobackup/ZfsDataset.py +++ b/zfs_autobackup/ZfsDataset.py @@ -840,8 +840,8 @@ class ZfsDataset: else: target_snapshot.debug("common snapshot") return source_snapshot - target_dataset.error("Cant find common snapshot with source.") - raise (Exception("You probably need to delete the target dataset to fix this.")) + # target_dataset.error("Cant find common snapshot with source.") + raise (Exception("Cant find common snapshot with target.")) def find_start_snapshot(self, common_snapshot, also_other_snapshots): """finds first snapshot to send :rtype: ZfsDataset or None if we cant