JSL Gurus,
Working on an update for Assistant and need a way to definitively determine if an arbitrary snippet of LLM-generated JSL runs successfully. I am currently using the following:
ret = trim(logCapture(eval(parse(jslcode))));
This grabs the log just fine, but a lot of times there is an error and the log text does not actually contain "ERROR" and I am currently stuck chasing down common error message keywords or phrases like "does not contain" or "unexpected".
Is there any clean way or hidden flag available for telling if the JSL ran successfully? Or maybe you have a better recommendation in general?
Thanks much and Happy Holidays!
Russ