diff --git a/build.gradle.kts b/build.gradle.kts index 4c71cae..df14d65 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,7 @@ repositories { } group = "net.folivo" -version = "0.5.1" +version = "0.5.2" java.sourceCompatibility = JavaVersion.VERSION_11 tasks.withType() { diff --git a/src/main/kotlin/net/folivo/matrix/bridge/sms/provider/android/AndroidSmsProviderLauncher.kt b/src/main/kotlin/net/folivo/matrix/bridge/sms/provider/android/AndroidSmsProviderLauncher.kt index 9faa620..01ece26 100644 --- a/src/main/kotlin/net/folivo/matrix/bridge/sms/provider/android/AndroidSmsProviderLauncher.kt +++ b/src/main/kotlin/net/folivo/matrix/bridge/sms/provider/android/AndroidSmsProviderLauncher.kt @@ -41,6 +41,7 @@ class AndroidSmsProviderLauncher(private val androidSmsProvider: AndroidSmsProvi private fun logReceiveAttempt(): RetryPolicy { return { LOG.error("could not retrieve messages from android device or process them: ${reason.message}") + LOG.debug("detailed error", reason) ContinueRetrying } } @@ -48,6 +49,7 @@ class AndroidSmsProviderLauncher(private val androidSmsProvider: AndroidSmsProvi private fun logSendAttempt(): RetryPolicy { return { LOG.error("could not send messages to android device: ${reason.message}") + LOG.debug("detailed error", reason) ContinueRetrying } }