Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
Thank you for your advice.
Put your entire project inside "Ignore Errors".
When an error occurs, you will run your notification code inside "WAS_ERROR".

@BAS-Viet-Nam said in How do I create a notification when I get any errors?:
Put your entire project inside "Ignore Errors".
When an error occurs, you will run your notification code inside "WAS_ERROR".
Chỗ Run code là gì thế bác ?