mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 07:56:19 +00:00
prevent a crash
This commit is contained in:
parent
015011b6e0
commit
e2be78c8f8
@ -106,7 +106,9 @@ public class ReadRemoteFolderOperation extends RemoteOperation<ArrayList<RemoteF
|
||||
} catch (Exception e) {
|
||||
result = new RemoteOperationResult<>(e);
|
||||
} finally {
|
||||
if (result.isSuccess()) {
|
||||
if (result == null) {
|
||||
Timber.e("Synchronized " + mRemotePath + ": result is null");
|
||||
} else if (result.isSuccess()) {
|
||||
Timber.i("Synchronized " + mRemotePath + ": " + result.getLogMessage());
|
||||
} else {
|
||||
if (result.isException()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user