nerzh / swift-telegram-sdk

🤖 The wrapper for the Telegram Bot API written in Swift. It's not a framework. There is no special syntax here. This is a library that implements all Telegram Bot API methods, which is available to you to work with Vapor, Smoke, Hummingbird, FlyingFox.
https://core.telegram.org/bots/api#available-methods
MIT License
208 stars 32 forks source link

Confusing error message #25

Closed valeriyvan closed 6 months ago

valeriyvan commented 6 months ago
[ com.tgbot ] [ ERROR ] 
>>>Type: server
>>>Description: Response marked as `not Ok`, it seems something wrong with request
Code: 404
Not Found
>>>Reason: 
 (TelegramVaporBot/TGClient.swift:145)
[ codes.vapor.application ] [ DEBUG ] Application shutting down (Vapor/Application.swift:235)
[ codes.vapor.application ] [ TRACE ] Shutting down providers (Vapor/Application.swift:237)
[ codes.vapor.application ] [ TRACE ] Clearing Application storage (Vapor/Application.swift:241)
[ codes.vapor.application ] [ DEBUG ] Shutting down connection pool [ahc-pool-key: https://api.telegram.org:443 TLS-hash: 3820552592687539142 ] (AsyncHTTPClient/HTTPConnectionPool.swift:84)
[ codes.vapor.application ] [ TRACE ] Running on shared EventLoopGroup. Not shutting down EventLoopGroup. (Vapor/Application.swift:247)
[ codes.vapor.application ] [ TRACE ] Application shutdown complete (Vapor/Application.swift:258)
Swift/ErrorType.swift:200: Fatal error: Error raised at top level: TelegramVaporBot.BotError
zs

Is what follows Reason real reason? Or there's no reason here?

valeriyvan commented 6 months ago

Closed with #26