Server generates event SYS_SCRIPT_ERROR for runtime errors in scripts, including instance discovery filter scripts, and also generates "warning" record in server's log. First parameter contains script identification string and second parameter contains error message. Unfortunately event is not generated if there is compilation error like in your case (although warning message in log still generated). I've fixed that in development branch, starting with next release you'll also get SYS_SCRIPT_ERROR event for instance discovery filter compilation errors.
On a side note, script syntax didn't change in that part - expression like
was always a syntax error. Whole "if" expression should always be enclosed in parenthesis.
Best regards,
Victor
On a side note, script syntax didn't change in that part - expression like
Code Select
if (a < b) && (c < d) { }
was always a syntax error. Whole "if" expression should always be enclosed in parenthesis.
Best regards,
Victor