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

InterruptException does not stop run_bot #22

Open
theogf opened this issue Jan 3, 2023 · 0 comments
Open

InterruptException does not stop run_bot #22

theogf opened this issue Jan 3, 2023 · 0 comments

Comments

@theogf
Copy link

theogf commented Jan 3, 2023

It seems that in VSCode, Ctrl+C only send another message and do not break the infinite loop.
This is the error I get:

^C
┌ Error: HTTP.Exceptions.RequestError(HTTP.Messages.Request:
│ """
│ POST /####################################### Censored
│ Content-Type: application/json
│ Connection: Keep-Alive
│ Host: api.telegram.org
│ Accept: */*
│ User-Agent: HTTP.jl/1.8.3
│ Content-Length: 52
│ Accept-Encoding: gzip
│ 
│ {"parse_mode":"","chat_id":"188237649","timeout":20}""", InterruptException())
└ @ Telegram ~/.julia/packages/Telegram/VE3tU/src/bot.jl:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant