Add the tag type the "not supported for" message refers to
This commit is contained in:
parent
a18d268ea1
commit
a6231b8442
|
@ -789,7 +789,9 @@ void setTagInfo(const SetTagInfoArgs &args)
|
|||
&& !denotedScope.field.setValues(tag, tagType, convertedValues)
|
||||
&& (tagType != TagType::Id3v1Tag || !willWriteAnId3v2Tag)) {
|
||||
diag.emplace_back(DiagLevel::Critical,
|
||||
argsToString("Unable set field \"", denotedScope.field.name(), "\": setting field is not supported"), context);
|
||||
argsToString(
|
||||
"Unable set field \"", denotedScope.field.name(), "\": field is not supported for ", tag->typeName()),
|
||||
context);
|
||||
}
|
||||
} catch (const ConversionException &e) {
|
||||
diag.emplace_back(DiagLevel::Critical,
|
||||
|
|
Loading…
Reference in New Issue