Make sure errors produced in pytest discovery are returned to VS Code and correctly surfaced to the user.