]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/utils/AsyncUtils.java
Catch Throwable instead of Exception in SCL AsyncUtils
[simantics/platform.git] / bundles / org.simantics.scl.runtime / src / org / simantics / scl / runtime / utils / AsyncUtils.java
index d771a821e8e65329134ebd8af37af7779b21866a..f0edd2c99e9f07423a1d9dd543bc6696e6884cd7 100644 (file)
@@ -43,9 +43,9 @@ public class AsyncUtils {
             SCLContext.push(context);
             try {
                 f.apply(Tuple0.INSTANCE);
-            } catch (Exception e) {
-                LOGGER.error("Could not execute async", e);
-                printError(e);
+            } catch (Throwable t) {
+                LOGGER.error("Could not execute async", t);
+                printError(t);
             } finally {
                 SCLContext.pop();
             }