diff --git a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendLocation.kt b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendLocation.kt index 45ba243ff3..37d88583f4 100644 --- a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendLocation.kt +++ b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendLocation.kt @@ -51,7 +51,7 @@ data class SendLocation( init { if (livePeriod != null && livePeriod !in livePeriodLimit) { - error("Live period for sending location must be in $livePeriodLimit") + error("Live period for sending location must be in $livePeriodLimit, but was $livePeriod") } } }