When executing the SAS as a subprocess, if SAS fails, the specific details of error message is only captured in log which is deleted at the end of the processing. This branch fixes so that the output to console gives the last 20 lines of the tracebaak of the error messages.
Affected Issues
393
Testing
In the directory, opera-sds-pge/src/opera/test/pge/base/
python3 test_base_pge.py 2>&1 | tee ../../../../test_base_pge_error.log
<Once the PR is created, don't forget to check the Build/Test Jenkins pipeline for your branch to ensure all tests are passing before merge>
Description
Affected Issues
393
Testing