on error console messages added to logs