diff --git a/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsActivity.java b/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsActivity.java index 91e2ced35..f1fa1d328 100644 --- a/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsActivity.java +++ b/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsActivity.java @@ -94,7 +94,7 @@ public class ContributionsActivity @Override public void onServiceDisconnected(ComponentName componentName) { // this should never happen - throw new RuntimeException("UploadService died but the rest of the process did not!"); + Timber.e(new RuntimeException("UploadService died but the rest of the process did not!")); } }; diff --git a/app/src/main/java/fr/free/nrw/commons/upload/UploadController.java b/app/src/main/java/fr/free/nrw/commons/upload/UploadController.java index d2119dfc3..ade22ece6 100644 --- a/app/src/main/java/fr/free/nrw/commons/upload/UploadController.java +++ b/app/src/main/java/fr/free/nrw/commons/upload/UploadController.java @@ -56,7 +56,7 @@ public class UploadController { @Override public void onServiceDisconnected(ComponentName componentName) { // this should never happen - throw new RuntimeException("UploadService died but the rest of the process did not!"); + Timber.e(new RuntimeException("UploadService died but the rest of the process did not!")); } };