From f3a64f08cf056f638e703f420d025c1a81af6fcc Mon Sep 17 00:00:00 2001 From: Craig Hawco Date: Wed, 9 Nov 2016 15:07:03 -0500 Subject: [PATCH] STORM-2194: Report error and die, not report error or die --- .../jvm/org/apache/storm/executor/error/ReportErrorAndDie.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storm-core/src/jvm/org/apache/storm/executor/error/ReportErrorAndDie.java b/storm-core/src/jvm/org/apache/storm/executor/error/ReportErrorAndDie.java index 54736e50b2..bab7f62743 100644 --- a/storm-core/src/jvm/org/apache/storm/executor/error/ReportErrorAndDie.java +++ b/storm-core/src/jvm/org/apache/storm/executor/error/ReportErrorAndDie.java @@ -41,8 +41,7 @@ public void uncaughtException(Thread t, Throwable e) { if (Utils.exceptionCauseIsInstanceOf(InterruptedException.class, e) || Utils.exceptionCauseIsInstanceOf(java.io.InterruptedIOException.class, e)) { LOG.info("Got interrupted exception shutting thread down..."); - } else { - suicideFn.run(); } + suicideFn.run(); } }