Handle frame callback errors.