Recover from exceptions in Predict