Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getUpdates Fatal error when no connection #1432

Open
sudadi opened this issue Nov 22, 2023 · 0 comments
Open

getUpdates Fatal error when no connection #1432

sudadi opened this issue Nov 22, 2023 · 0 comments
Labels

Comments

@sudadi
Copy link
Contributor

sudadi commented Nov 22, 2023

🐞 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),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant