When we run a pipeline that has a syntax error. The error is not shown in the console log. It seems that BFA is swallowing these errors.
With some builds with library syntax errors we've also noted that the master will keep the BFA threads running for these failed builds indicating a possible thread leak.
Pipeline code to reproduce