diff --git a/bin/zsnapper b/bin/zsnapper index d557461..6736326 100644 --- a/bin/zsnapper +++ b/bin/zsnapper @@ -369,9 +369,9 @@ def main(): try: if remote in remote_snapshots: remote_snapshots[remote] = zsnaplib.get_snapshots(zfs_cmd) - except zsnaplib.ZFSSnapshotError: + except zsnaplib.ZFSSnapshotError as e: del remote_snapshots[remote] - log.warning("Could not refresh snapshots on {}".format(remote)) + log.warning("Could not refresh snapshots on {}: {}".format(remote, e)) snapshots = zsnaplib.get_snapshots(local_zfs_cmd) failed_send = send_snapshots(fslist, snapshots, config)