fixed bugs

removed some error reporting in cases where the errors are somewhat expected and handled
This commit is contained in:
Philipp Crocoll
2016-01-29 22:09:22 +01:00
parent a2be64d1cb
commit 3b5c28c02a
12 changed files with 70 additions and 37 deletions

View File

@@ -165,7 +165,7 @@ namespace keepass2android.Io
}
catch (Exception e)
{
Kp2aLog.LogUnexpectedError(e);
Kp2aLog.Log(e.ToString());
return false;
}
@@ -239,7 +239,7 @@ namespace keepass2android.Io
}
else return false;
}
else throw new Exception("couldn't move to first result element");
else throw new Exception("couldn't move to first result element: " + (cursor == null) + uri.ToString());
}
catch (Exception e)
{

View File

@@ -103,7 +103,7 @@ namespace keepass2android.Io
return _streamCacheDir + iocAsHexString;
}
private bool IsCached(IOConnectionInfo ioc)
public bool IsCached(IOConnectionInfo ioc)
{
return File.Exists(CachedFilePath(ioc))
&& File.Exists(VersionFilePath(ioc))