Skip to content

Commit 12d4a75

Browse files
committed
1 parent 5d793af commit 12d4a75

File tree

1 file changed

+4
-0
lines changed
  • spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart

1 file changed

+4
-0
lines changed

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import java.beans.Introspector;
2020
import java.lang.Thread.UncaughtExceptionHandler;
2121
import java.lang.reflect.Field;
22+
import java.lang.reflect.InvocationTargetException;
2223
import java.net.URL;
2324
import java.util.Arrays;
2425
import java.util.Collection;
@@ -265,6 +266,9 @@ protected void start(FailureHandler failureHandler) throws Exception {
265266
if (error == null) {
266267
return;
267268
}
269+
if (error instanceof InvocationTargetException) {
270+
return;
271+
}
268272
if (failureHandler.handle(error) == Outcome.ABORT) {
269273
return;
270274
}

0 commit comments

Comments
 (0)