Clarify debug message

This commit is contained in:
Juergen Spitzmueller 2022-02-27 15:12:33 +01:00
parent 6d17c5a1d6
commit 9cd479a044

View File

@ -69,7 +69,7 @@ Floating::Floating(string const & type, string const & placement,
docbook_float_type_ = "video";
} else {
// If nothing matches, return something that will not be valid.
LYXERR0("Unrecognised float type: " + floattype_);
LYXERR0("Float type '" + floattype_ + "' unknown to DocBook!");
docbook_float_type_ = "unknown";
}
}
@ -159,7 +159,7 @@ string Floating::docbookTag(bool hasTitle) const
return hasTitle ? "table" : "informaltable";
} else {
// If nothing matches, return something that will not be valid.
LYXERR0("Unrecognised float type: " + floattype());
LYXERR0("Float type '" + floattype() + "' unknown to DocBook!");
return "float";
}
}