restart on error
ragnork

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
Highwayman

What exactly do you mean by restart on error? do you mean like if your entire program crashes, you want the repl to automatically restart?

vitasehnalek

@Highwayman I guess, this can be what is he thinking of.

Highwayman

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