Add error output to the console