display errors in console log.