You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an error is encountered in the callback for watch_for_file_changes, the program will crash saying lua5.1.exe has stopped working rather than providing a useful error message. Repro:
A similar experience can be had by passing in nil for the function callback.
It would be much more useful if the error would be handled like errors encountered during regular execution, that is, providing a message: "test.lua:7: attempt to call global 'oops_not_a_function' (a nil value)"
The text was updated successfully, but these errors were encountered:
When an error is encountered in the callback for
watch_for_file_changes
, the program will crash sayinglua5.1.exe has stopped working
rather than providing a useful error message. Repro:A similar experience can be had by passing in
nil
for the function callback.It would be much more useful if the error would be handled like errors encountered during regular execution, that is, providing a message: "test.lua:7: attempt to call global 'oops_not_a_function' (a nil value)"
The text was updated successfully, but these errors were encountered: