Capture syntax error