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();
}