Fix error handling in JSON export
This commit is contained in:
parent
ae85f123f8
commit
e3e9e40682
|
@ -90,7 +90,7 @@ TagValue::TagValue(const Media::TagValue &tagValue, RAPIDJSON_NAMESPACE::Documen
|
|||
value.SetNull();
|
||||
}
|
||||
} catch (const ConversionUtilities::ConversionException &e) {
|
||||
ReflectiveRapidJSON::JsonReflector::push(e.what(), value, allocator);
|
||||
ReflectiveRapidJSON::JsonReflector::push(string(e.what()), value, allocator);
|
||||
kind = "error";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue