You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-integration-test-support/src/main/java/org/springframework/integration/test/mail/TestMailServer.java
+26-8
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,9 @@ else if (line.equals("QUIT")) {
148
148
messages.add(sb.toString());
149
149
}
150
150
catch (IOExceptione) {
151
-
LOGGER.error(IO_EXCEPTION, e);
151
+
if (!this.stopped) {
152
+
LOGGER.error(IO_EXCEPTION, e);
153
+
}
152
154
}
153
155
}
154
156
@@ -210,7 +212,9 @@ else if ("QUIT".equals(line)) {
210
212
}
211
213
}
212
214
catch (IOExceptione) {
213
-
LOGGER.error(IO_EXCEPTION, e);
215
+
if (!this.stopped) {
216
+
LOGGER.error(IO_EXCEPTION, e);
217
+
}
214
218
}
215
219
}
216
220
@@ -380,7 +384,9 @@ else if (line.contains("LOGOUT")) {
380
384
}
381
385
}
382
386
catch (IOExceptione) {
383
-
LOGGER.error(IO_EXCEPTION, e);
387
+
if (!this.stopped) {
388
+
LOGGER.error(IO_EXCEPTION, e);
389
+
}
384
390
}
385
391
}
386
392
@@ -412,7 +418,7 @@ public abstract static class MailServer implements Runnable {
0 commit comments