diff --git a/app/src/unifiedpush/java/im/molly/unifiedpush/jobs/UnifiedPushRefreshJob.kt b/app/src/unifiedpush/java/im/molly/unifiedpush/jobs/UnifiedPushRefreshJob.kt index 44c58d7979..52b09648ea 100644 --- a/app/src/unifiedpush/java/im/molly/unifiedpush/jobs/UnifiedPushRefreshJob.kt +++ b/app/src/unifiedpush/java/im/molly/unifiedpush/jobs/UnifiedPushRefreshJob.kt @@ -59,7 +59,9 @@ class UnifiedPushRefreshJob private constructor(parameters: Parameters) : BaseJo // Else : we try to use UnifiedPush UnifiedPushHelper.checkDistributorPresence(context) - when (val status = SignalStore.unifiedpush().status) { + val status = SignalStore.unifiedpush().status + Log.d(TAG, "UnifiedPush Status: $status") + when (status) { // Should not occur UnifiedPushStatus.DISABLED, UnifiedPushStatus.UNKNOWN -> Log.e(TAG, "UnifiedPush setup should not be in this state here : $status.") diff --git a/app/src/unifiedpush/java/im/molly/unifiedpush/util/MollySocketRequest.kt b/app/src/unifiedpush/java/im/molly/unifiedpush/util/MollySocketRequest.kt index 3498463a89..73fdbc2d1c 100644 --- a/app/src/unifiedpush/java/im/molly/unifiedpush/util/MollySocketRequest.kt +++ b/app/src/unifiedpush/java/im/molly/unifiedpush/util/MollySocketRequest.kt @@ -97,7 +97,7 @@ object MollySocketRequest { return resp.mollySocket.status ?: RegistrationStatus.INTERNAL_ERROR } } catch (e: Exception) { - Log.d(TAG, "Exception: $e") + Log.w(TAG, "Exception: $e", Throwable()) return RegistrationStatus.INTERNAL_ERROR } }