Add a recovery middleware to the default stack