Page 1 of 1

Send report after restart

Posted: Thu Aug 09, 2018 5:50 pm
by rodc
Have MadException an option to first restart and than show the erro alert to user choose send or not the erro report?

Re: Send report after restart

Posted: Fri Aug 10, 2018 3:28 pm
by madshi
That is currently not supported (automatically). Why do you need/want that?

You can implement this yourself pretty easily, though. E.g. you can use call madExcept.RegisterExceptionHandler() to get notified when an exception occurs. Then you can restart store the bug report to a temporary text file (or registry) and restart your application. After the restart you can load the bug report from the temp text file and call "madExcept.ShowBugReport()" to show it.

Re: Send report after restart

Posted: Fri Aug 10, 2018 4:20 pm
by rodc
I will try this.

I want it because my application is like a service and need to monitor instruments process.
I some error occurs it need to be restarted to normalize monitoring process as soon as possible. But the user need to know that application has been restarted and choose to send to me the bug report.