diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/ConnectedFragment.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/ConnectedFragment.kt index 65e4e92..a1c5346 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/ConnectedFragment.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/ConnectedFragment.kt @@ -9,6 +9,7 @@ import android.os.IBinder import android.util.Log import android.view.View import androidx.fragment.app.Fragment +import com.crashlytics.android.Crashlytics import cy.agorise.graphenej.api.ConnectionStatusUpdate import cy.agorise.graphenej.api.android.NetworkService import cy.agorise.graphenej.api.android.RxBus @@ -43,7 +44,10 @@ abstract class ConnectedFragment : Fragment(), ServiceConnection { RxBus.getBusInstance() .asFlowable() .observeOn(AndroidSchedulers.mainThread()) - .subscribe { handleIncomingMessage(it) } + .subscribe( + { handleIncomingMessage(it) } , + {t -> Crashlytics.log(Log.DEBUG, TAG, t.message) } + ) ) }