inject deferred history into returned failures.