Ensure errors are reported properly.