And my point was to use a log file to write exit conditions in each of the branches so that you could see where it actually terminated:
“Try to Complete”
…Write into log file “I did this in the try to complete branch”
“If an exception occurred”
…Write into log file " I was in the exception branch and terminated there with Error Code 1"
If you are using the status elsewhere then write code to collect this structured text from the log and make subsequent decisions based on what it finds. You can use nesting to get as much granularity as you want with the exception codes and then reference the log file to see what actually happened without needing to examine the execution code in recorder.
It’s not good practice to ‘want’ an application to crash in an uncontrolled way whether it gives an error notification or not. Better to have it quit in an expected manner but find the reason from a log.