newline before logging error