Change the logging of exceptions over to errors