Closed Christilut closed 9 years ago
Telegram was under DDOS yesterday and my bots got this error:
{ [Error: socket hang up] code: 'ECONNRESET' }
I think the best place to handle this is in your library. Maybe retry until connectable again? Is there a on-error event?
Good suggestion. I will implement the retry at open method. Thanks
@Christilut hey, you can now adjust maxattempt. Default attempt will be 5 times.
Telegram was under DDOS yesterday and my bots got this error:
I think the best place to handle this is in your library. Maybe retry until connectable again? Is there a on-error event?