lovefiddle icon indicating copy to clipboard operation
lovefiddle copied to clipboard

Process freezes on syntax error

Open Ulydev opened this issue 8 years ago • 3 comments

The fiddle should stop itself and throw an error in the console. Instead, it just freezes the whole page.

Ulydev avatar Sep 21 '16 19:09 Ulydev

@TannerRogalsky do you have any ideas? I don't know why LÖVE keeps running instead of displaying the blue error screen.

Ulydev avatar Oct 09 '16 15:10 Ulydev

I'm not sure, unfortunately. I've looked into this before but was never able to figure out where it gets stuck.

TannerRogalsky avatar Oct 09 '16 15:10 TannerRogalsky

As suggested by Sheepolution, it seems like this has to do with LÖVE's errhand. Printing the error only once and removing the while loop from errhand temporarily fixes the issue. http://lovefiddle.com/LHZLjWf48pRrLf4YC

Ulydev avatar Oct 09 '16 18:10 Ulydev