mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-04 07:39:39 +00:00
Update Webhook.kt
This commit is contained in:
@@ -51,7 +51,7 @@ fun Route.includeWebhookHandlingInRoute(
|
|||||||
call.respond(HttpStatusCode.OK)
|
call.respond(HttpStatusCode.OK)
|
||||||
}.onFailure {
|
}.onFailure {
|
||||||
call.respond(HttpStatusCode.InternalServerError)
|
call.respond(HttpStatusCode.InternalServerError)
|
||||||
}
|
}.getOrThrow()
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
exceptionsHandler ?.invoke(e)
|
exceptionsHandler ?.invoke(e)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user