Update console output to display error messages.