Merge pull request #3239 from DeltaNedas/logicerr

properly log logic build errors
This commit is contained in:
Anuken
2020-11-01 19:16:41 -05:00
committed by GitHub
@@ -324,7 +324,8 @@ public class LogicBlock extends Block{
executor.load(asm);
}catch(Exception e){
e.printStackTrace();
Log.err("Failed to compile logic program @", code);
Log.err(e);
//handle malformed code and replace it with nothing
executor.load("", LExecutor.maxInstructions);