Closed JacekKac closed 3 months ago
As this project has been unmaintained for almost 4 years, there's little chance such an issue will be addressed, I'm sure there are many cases of unhandled promise rejections that can occur. Most likely these have been there forever, but NodeJS versions prior to v15 only threw a warning while modern versions default to throwing an error which will cause the process to exit.
However, it is possible to use the --unhandled-rejections=warn
parameter on NodeJS to revert it to a warning as it was in previous versions. This should at least keep the process from exiting.
i notitced that my tuya-mqtt instance is crashing when a power outgage turns off my devices. Devices after a while are back online in tuya cloud, but the problem in tuya-mqtt is still active, need to restart app to get it back working again. Any clues how to solve this problem? devices.conf: