log codeError