Fixed bug in IOConnection.cs: Errors when uploading data to http(s) were not handled correctly
Improved logging in CachingFileStorage
This commit is contained in:
@@ -506,11 +506,12 @@ namespace KeePassLib.Serialization
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
if ((ex.Response is HttpWebResponse) && (((HttpWebResponse)ex.Response).StatusCode == HttpStatusCode.Unauthorized))
|
||||
if ((ex.Response is HttpWebResponse) && (((HttpWebResponse) ex.Response).StatusCode == HttpStatusCode.Unauthorized))
|
||||
{
|
||||
req = CreateWebRequest(ioc, true);
|
||||
f(req);
|
||||
}
|
||||
else throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user