gracefully handle exceptions persisting