Automatically restart job after crash

How can we configure prefect jobs to automatically restart after a crash? One of our jobs had the error:
Crash detected! Execution was interrupted by an unexpected exception: KeyError: 825

and the status was set to crashed. I’d like to set this up to automatically retry the job, since it doesn’t appear to be an issue in our code.