Format node configuration warnings as a bullet point list

This makes multiple warnings easier to distinguish from each other.
This commit is contained in:
Hugo Locurcio 2021-07-06 19:36:05 +02:00
parent c47b6f4b5c
commit 730ffcf65d
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

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;
}