yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.35k stars 1.52k forks source link

If port is already in use open is rejected when opening the webhook #1080

Closed windkh closed 1 year ago

windkh commented 1 year ago

Description

To avoid unhandled exceptions in case of a port conflict when opening a webhook, the promise rejects as soon as an error occurred from now on.

References