Don't swallow exception in VirtdataComposer

This commit is contained in:
phact 2020-05-13 14:42:34 -04:00
parent 2e3fc5a044
commit 7b61ee3a98

View File

@ -166,7 +166,7 @@ public class VirtDataComposer {
}
} catch (Exception e) {
String flowdata = flow != null ? flow.toString() : "undefined";
return diagnostics.error(new RuntimeException("FUNCTION resolution failed: '" + flowdata + "': " + e.toString()));
return diagnostics.error(new RuntimeException("FUNCTION resolution failed: '" + flowdata + "': " + e.toString(),e));
}
}
ResolvedFunction composedFunction = assembly.getResolvedFunction(isThreadSafe);