diff --git a/logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/receiver/UserEventReceiver.kt b/logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/receiver/UserEventReceiver.kt index 0f33f969adf..fd3e2b96e1f 100644 --- a/logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/receiver/UserEventReceiver.kt +++ b/logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/receiver/UserEventReceiver.kt @@ -128,6 +128,21 @@ internal class UserEventReceiverImpl internal constructor( private suspend fun handleNewClient(event: Event.User.NewClient): Either = clientRepository.saveNewClientEvent(event) + .onSuccess { + kaliumLogger + .logEventProcessing( + EventLoggingStatus.SUCCESS, + event + ) + } + .onFailure { + kaliumLogger + .logEventProcessing( + EventLoggingStatus.FAILURE, + event, + Pair("errorInfo", "$it") + ) + } private suspend fun handleUserDelete(event: Event.User.UserDelete): Either = if (selfUserId == event.userId) {