Rain 🚱 is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse.
Rain 🚱 @grainloom

so, I added a protected require to my thingy that saves me from stuff like loading a missing module

it's pretty basic, it just loops until pcall succeeds and calls an optional callback on each failure

the next step would be to restart on errors and maybe replace the error handler globally, but idk how I'd handle that

· Web · 0 · 1

I guess I could write my own love.run, that would give me full control over most things