core
core copied to clipboard
getUpdates Fatal error when no connection
🐞 Bug Report
Required Information
| ? | ! |
|---|---|
| Operating system | Linux |
| PHP Telegram Bot version | 0.8.2 |
| PHP version | 8.x |
| MySQL version | Mariadb 10 |
| Update Method | getUpdates |
| Self-signed certificate | no |
Current behaviour
When no connection or network disconnected fatal error will appear
How to reproduce
Run getUpdatesCLI (as example), disconnect network, fatal error happen.
Expected behaviour
If there is no connection while getUpdatesCLI running, catch error to log and getUpdates still running (no fatal error),