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.
I have a bot that is supposed to run 24/7 but often its crashed by mysql2 npm error (node).
im using it correctly, what could be the issue? my app is performing loops and like 100 times it will work but 101th time will result in node error which crashes application.
Ill adderror code here if i again get this error