restart on error

My repl is a discord bot the fetches from an api, and i would prefer not to have to restart it every time someone makes a spelling mistake, so is there a way to have my repl restart on an error

You are viewing a single comment. View All

Yeah, but looking at it again, it looks more like the api throws an exception or something, which is way easier to recover from. @vitasehnalek