-
Notifications
You must be signed in to change notification settings - Fork 184
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
prometheus_bot fails with panic with newly created bot #11
Comments
@hryamzik: looks like |
We can check it for |
Do. Not. Crash. :) |
Well, if configuration is incorrect it should be handled and reported (probably with message and service exit with non-zero code). BTW, bot token hasn't changed between described here failure and successful usage in the following runs, so I don't think this error is caused by incorrect bot access token. |
I'm trying prometheus_bot from master branch (271ff17) compiled with Go 1.6.2 from Ubuntu 16.04 64-bit and have observed panic during handling of first requests with newly created Telegram bot.
I can't reproduce this issue currently and I believe the issue is related to freshly created Telegram bot or some issue on Telegram side.
I want to leave this issue here for the reference, in case anyone else will observe it later.
Here is what I've done.
./prometheus_bot -c config.yml
make test
without specification ofTELEGRAM_CHATID
:This lead to 404 responses from
prometheus_bot
.TELEGRAM_CHATID
:This lead to panic. Here is prometheus_bot log for the whole session:
The text was updated successfully, but these errors were encountered: