Fixed crash related to Facebook errors.