Loading src/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java +13 −10 Original line number Diff line number Diff line Loading @@ -99,14 +99,16 @@ public class ReadRemoteFolderOperation extends RemoteOperation { client.exhaustResponse(query.getResponseBodyAsStream()); result = new RemoteOperationResult(false, query); } } catch (Exception e) { result = new RemoteOperationResult(e); } finally { if (query != null) query.releaseConnection(); // let the connection available for other methods if (result == null) { result = new RemoteOperationResult(new Exception("unknown error")); Log_OC.e(TAG, "Synchronized " + mRemotePath + ": failed"); } else { if (result.isSuccess()) { Log_OC.i(TAG, "Synchronized " + mRemotePath + ": " + result.getLogMessage()); } else { Loading @@ -117,8 +119,9 @@ public class ReadRemoteFolderOperation extends RemoteOperation { Log_OC.e(TAG, "Synchronized " + mRemotePath + ": " + result.getLogMessage()); } } } } return result; } Loading Loading
src/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java +13 −10 Original line number Diff line number Diff line Loading @@ -99,14 +99,16 @@ public class ReadRemoteFolderOperation extends RemoteOperation { client.exhaustResponse(query.getResponseBodyAsStream()); result = new RemoteOperationResult(false, query); } } catch (Exception e) { result = new RemoteOperationResult(e); } finally { if (query != null) query.releaseConnection(); // let the connection available for other methods if (result == null) { result = new RemoteOperationResult(new Exception("unknown error")); Log_OC.e(TAG, "Synchronized " + mRemotePath + ": failed"); } else { if (result.isSuccess()) { Log_OC.i(TAG, "Synchronized " + mRemotePath + ": " + result.getLogMessage()); } else { Loading @@ -117,8 +119,9 @@ public class ReadRemoteFolderOperation extends RemoteOperation { Log_OC.e(TAG, "Synchronized " + mRemotePath + ": " + result.getLogMessage()); } } } } return result; } Loading