Recover from widget function exceptions