Handle failed invocations/add strict mode