Errors will now be printed on log.