diff --git a/welcome/src/main/kotlin/WelcomePlugin.kt b/welcome/src/main/kotlin/WelcomePlugin.kt index c7473b0..091add3 100644 --- a/welcome/src/main/kotlin/WelcomePlugin.kt +++ b/welcome/src/main/kotlin/WelcomePlugin.kt @@ -190,15 +190,11 @@ class WelcomePlugin : Plugin { return@onNewChatMembers } - try { - reply( - it, - chatSettings.sourceChatId, - chatSettings.sourceMessageId - ) - } catch (e: RequestException) { - log.e("Unable to send welcome message", e) - } + reply( + it, + chatSettings.sourceChatId, + chatSettings.sourceMessageId + ) } }