From da37cabb3886bded0d2f1a33ddb88c3989c5eee2 Mon Sep 17 00:00:00 2001 From: "kenneth.skovhede@gmail.com" Date: Wed, 16 Feb 2011 20:15:06 +0000 Subject: [PATCH] Fixed an issue where broken manifests did not correctly switch to the alternate git-svn-id: https://duplicati.googlecode.com/svn/trunk@699 59da171f-624f-0410-aa54-27559c288bec --- Duplicati/Library/Main/BackendWrapper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Duplicati/Library/Main/BackendWrapper.cs b/Duplicati/Library/Main/BackendWrapper.cs index 8462c3fad..05fd12cb1 100644 --- a/Duplicati/Library/Main/BackendWrapper.cs +++ b/Duplicati/Library/Main/BackendWrapper.cs @@ -859,6 +859,8 @@ namespace Duplicati.Library.Main if (lastEx != null) if (lastEx is HashMismathcException) throw lastEx; + else if (lastEx is System.Security.Cryptography.CryptographicException) + throw lastEx; else throw new Exception(string.Format(Strings.BackendWrapper.FileDownloadError, lastEx.Message), lastEx);