My wideq version stops working every now and then, restarting the app resolves this so i assume it is something with expiring tokens; does your version implement something like auto-refreshing if the monitor task fails?
It looks like it was throwing some other kind of exception – don't remember what – however, adding --unhandled-rejections=strict caused the whole script to start over. Crude, but it worked enough for me
My wideq version stops working every now and then, restarting the app resolves this so i assume it is something with expiring tokens; does your version implement something like auto-refreshing if the monitor task fails?
I expect it does; looking at this: https://github.com/ssut/wideq-js/blob/master/lib/core/monitor.ts#L29
But it would be cool if you could confirm.