Skip to content

Commit 94e4d80

Browse files
Generalized message for the user
1 parent d9ddba6 commit 94e4d80

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/com/magento/idea/magento2plugin/actions/generation/generator/pool/GeneratorPoolHandler.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,15 @@ public boolean hasErrorMessages() {
163163

164164
/**
165165
* Show error messages for the user.
166-
* Those errors are system and must be processed by the dev during the testing.
167-
* They cannot go to live.
168166
*/
169167
private void showErrorMessages() {
170168
if (!errors.isEmpty()) {
171169
final String title = this.exceptionBundle.message(
172-
"exception.common.checkLogg"
170+
"exception.common.title"
171+
);
172+
final String errorMessage = this.exceptionBundle.message(
173+
"exception.common.informUs"
173174
);
174-
final AtomicInteger messageNum = new AtomicInteger(1);
175-
final String errorMessage = errors.stream()
176-
.map(message -> messageNum.getAndIncrement() + ". " + message)
177-
.collect(Collectors.joining("\n"));
178175

179176
JOptionPane.showMessageDialog(
180177
null,

0 commit comments

Comments
 (0)