cql_runner
cql_runner copied to clipboard
Report the same location context info for errors as for successes
When a CQL named expression is evaluated successfully, the output gives the expression name and line number in the source code, for example:
>> Is Colonoscopy In Last Ten Years [304:1] false
However, when there are runtime errors with an expression, that context is not indicated, for example:
>> Error: HTTP 404 Not Found
The task of this ticket is to update the runner such that the expression name / line number context is always reported regardless of whether the evaluation result is successful or an error.
This information is important for tracking down where in many possible places the error may originate in the source code.