Added an error case for when the pod try crashes.