Add more sensible error output.