diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-07-23 12:46:14 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-07-23 12:46:14 +0300 |
commit | 2c9cc01dc76eaa5439a1c9c92ab433b5990b82fb (patch) | |
tree | 067ae6154594317ba9f14082851ca9f83c0424c2 /app/src/main | |
parent | 6500744134c88065f403695266fdd4b41ba15dfe (diff) |
Add some logging
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/helpers/providers/OcsProjectDataProvider.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/helpers/providers/OcsProjectDataProvider.java b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/helpers/providers/OcsProjectDataProvider.java index d8dccb8a0..a32fcb89d 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/helpers/providers/OcsProjectDataProvider.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/helpers/providers/OcsProjectDataProvider.java @@ -4,6 +4,7 @@ import java.util.Collections; import java.util.Date; import java.util.List; +import it.niedermann.nextcloud.deck.DeckLog; import it.niedermann.nextcloud.deck.api.IResponseCallback; import it.niedermann.nextcloud.deck.model.Card; import it.niedermann.nextcloud.deck.model.ocs.projects.OcsProject; @@ -24,15 +25,15 @@ public class OcsProjectDataProvider extends AbstractSyncDataProvider<OcsProject> serverAdapter.getProjectsForCard(card.getId(), new IResponseCallback<OcsProjectList>(responder.getAccount()) { @Override public void onResponse(OcsProjectList response) { - responder.onResponse(response.getProjects()); + responder.onResponse(response.getProjects()); } @Override public void onError(Throwable throwable) { super.onError(throwable); // dont break the sync! + DeckLog.logError(throwable); responder.onResponse(Collections.emptyList()); -// responder.onError(throwable); } }); } |