Don't swallow exception in VirtdataComposer

This commit is contained in:
phact 2020-05-13 14:42:34 -04:00
parent de9075df93
commit 918d0c7939

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