[assimp/xml] Improved XML parse error message.
Fixed typo, added detail.pull/3881/head
parent
ccd1a4455e
commit
6e65115253
|
@ -136,7 +136,9 @@ public:
|
|||
if (parse_result.status == pugi::status_ok) {
|
||||
return true;
|
||||
} else {
|
||||
ASSIMP_LOG_DEBUG("Error while parse xml.");
|
||||
std::ostringstream oss;
|
||||
oss << "Error while parsing XML: " << parse_result.description() << " @ " << parse_result.offset;
|
||||
ASSIMP_LOG_DEBUG(oss.str());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue