Capture ANTLR4 syntax errors and log them