Throwing a UserInformationException instead of the generic exception

This commit is contained in:
Kenneth Skovhede
2026-05-04 10:19:54 +02:00
parent 9717450b30
commit fc675638c4
@@ -211,7 +211,7 @@ public static class RemoteSynchronizationRunner
"Not enough free space in destination to perform the synchronization. Required: {0}, Available: {1}. Aborting.",
Duplicati.Library.Utility.Utility.FormatSizeString(total_copy_size - total_delete_size),
Duplicati.Library.Utility.Utility.FormatSizeString(dst_quota.FreeQuotaSpace));
throw new Exception("Not enough free space in destination to perform the synchronization.");
throw new UserInformationException("Not enough free space in destination to perform the synchronization.", "NotEnoughDestinationSpace");
}
}