refactor(extensions): break load warnings into newlines (#25358)
This commit is contained in:
parent
a829ae56b2
commit
1815b95e74
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ std::pair<scoped_refptr<const Extension>, std::string> LoadUnpacked(
|
||||||
// Log warnings.
|
// Log warnings.
|
||||||
if (extension->install_warnings().size()) {
|
if (extension->install_warnings().size()) {
|
||||||
warnings += "Warnings loading extension at " +
|
warnings += "Warnings loading extension at " +
|
||||||
base::UTF16ToUTF8(extension_dir.LossyDisplayName()) + ": ";
|
base::UTF16ToUTF8(extension_dir.LossyDisplayName()) + ":\n";
|
||||||
for (const auto& warning : extension->install_warnings()) {
|
for (const auto& warning : extension->install_warnings()) {
|
||||||
warnings += warning.message + " ";
|
warnings += " " + warning.message + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue