Runtime error in Stand Alone app

Hi everyone,
I have the next error in my standalone web app, which is compiled for 64 bits with Xojo 2016r4.1 and connect with SQL Server.

runtime error:
common\classlib\runtime thread.cpp:1419 failure condition: !scurrentthead->mcurrentexception

the app work fine two o more days and then crashed ocationally

I already saw some threads with similar errors and didn’t find a solution, if someone can give me some light, I would appreciate it.

But what I really really need, it’s a way to not show the error messaje or close it automatically, because I have another program which re-open crashed programs and it can’t while the messaje is open (the messaje keeps my app running).

any ideas?