properly log logic build errors

This commit is contained in:
DeltaNedas
2020-11-01 23:01:18 +00:00
parent 082d157c86
commit 47844e0204

View File

@@ -324,6 +324,8 @@ public class LogicBlock extends Block{
executor.load(asm);
}catch(Exception e){
Log.err("Failed to compile logic program @", code);
Log.err(e);
e.printStackTrace();
//handle malformed code and replace it with nothing