mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-29 07:53:04 +00:00
Update Webhook.kt
This commit is contained in:
1 parent
82c6eda0b7
commit
1e73aac750
1 file changed
+1
-1
+1
-1
@@ -51,7 +51,7 @@ fun Route.includeWebhookHandlingInRoute(
|
||||
call.respond(HttpStatusCode.OK)
|
||||
}.onFailure {
|
||||
call.respond(HttpStatusCode.InternalServerError)
|
||||
}
|
||||
}.getOrThrow()
|
||||
} catch (e: Throwable) {
|
||||
exceptionsHandler ?.invoke(e)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user