Changed the log to error