Merge pull request #50215 from Calinou/improve-node-configuration-warning-display

Format node configuration warnings as a bullet point list
This commit is contained in:
Rémi Verschelde 2021-07-06 23:07:16 +02:00 committed by GitHub
commit f50a866335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2493,7 +2493,9 @@ String Node::get_configuration_warnings_as_string() const {
if (i > 0) {
all_warnings += "\n\n";
}
all_warnings += String(warnings[i]);
// Format as a bullet point list to make multiple warnings easier to distinguish
// from each other.
all_warnings += String::utf8("") + String(warnings[i]);
}
return all_warnings;
}