Live Refresh won't handle errors

Hi there,

I have a ServerConnect element that I use Live Refresh with Sockets. However, if there is an error, it won’t throw an error, it will continue to sit executing for an indefinite amount of time.

Example:


However, when I take Live Refresh off, the error can be handled.

Do I need to add something else into my custom module other than throw new RangeError?

Any advice would be greatly appreciated.

Cheers
Michael

Community Page
Last updated: