mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GitUIUtil change \n by <br> when displaying exception message
This commit is contained in:
@@ -72,7 +72,9 @@ public class GitUIUtil {
|
||||
} else {
|
||||
errorMessages = new HashSet<String>(errors.size());
|
||||
for (VcsException error : errors) {
|
||||
errorMessages.addAll(Arrays.asList(error.getMessages()));
|
||||
for (String message : error.getMessages()) {
|
||||
errorMessages.add(message.replace("\n", "<br/>"));
|
||||
}
|
||||
}
|
||||
}
|
||||
notifyMessages(project, title, description, type, important, errorMessages);
|
||||
|
||||
Reference in New Issue
Block a user