minor improvement while logging sax parse error