From 9ae11f1ef06d3919975cbeeea8462e2019a054ae Mon Sep 17 00:00:00 2001 From: "Gregory.Shrago" Date: Thu, 17 Nov 2016 19:31:59 +0300 Subject: [PATCH] EA-74513 - SE: TCPTransport.listen (catch ExceptionInInitializerError too) --- .../src/com/intellij/execution/rmi/RemoteProcessSupport.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java b/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java index 03dafce34243..5cdf4b0ffbfc 100644 --- a/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java +++ b/platform/lang-impl/src/com/intellij/execution/rmi/RemoteProcessSupport.java @@ -34,7 +34,6 @@ import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.Pair; import com.intellij.openapi.util.Ref; -import com.intellij.openapi.util.ThrowableComputable; import com.intellij.openapi.util.text.StringUtil; import com.intellij.util.ExceptionUtil; import com.intellij.util.ObjectUtils; @@ -350,7 +349,7 @@ public abstract class RemoteProcessSupport { try { RemoteDeadHand.TwoMinutesTurkish.startCooking("localhost", result.port); } - catch (Exception e) { + catch (Throwable e) { LOG.warn("The cook failed to start due to " + ExceptionUtil.getRootCause(e)); } }