Evaluate `ignore_errors` in the right context.

Pass the value it had back with the result, and use this value where
previously we were using the task-level value.