Closed kareltucek closed 3 years ago
I think this will need testing but it has to do with promise-catching. For example, here is the catch
for "on".
I think something like this would work:
.catch(err => {
console.error(err)
process.exit(1)
})
Thanks for reply and sorry for so late reply on my part!
I think something like this would work:
Yes I do confirm that this solves the problem.
Should be resolved in 1.5.4
Hi!
If the command (e.g., turning light bulb on) fails (e.g., because network interface is unreachable), tplight does not exit. Instead, it remains hanging around forever.
For instance: