HouzuoGuo/laitos

Supress "conflict" response from being logged via calling telegram bot API

HouzuoGuo opened this issue · 1 comments

Nowadays telegram bot API gives an error HTTP response when more than one servers are polling on the same account:

HTTP 409: {"ok":false,"error_code":409,"description":"Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

Nevertheless, the API succeeds in retrieving pending message in the next round. Therefore, suppress logging of the conflict HTTP API response.

resolved in d8521ef