Send report after restart

delphi package - automated exception handling

Send report after restart

Postby rodc » Thu Aug 09, 2018 5:50 pm

Have MadException an option to first restart and than show the erro alert to user choose send or not the erro report?
rodc
 
Posts: 10
Joined: Fri Mar 23, 2007 7:24 pm
Location: Porto Alegre - Brazil

Re: Send report after restart

Postby madshi » Fri Aug 10, 2018 3:28 pm

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.
madshi
Site Admin
 
Posts: 9826
Joined: Sun Mar 21, 2004 5:25 pm

Re: Send report after restart

Postby rodc » Fri Aug 10, 2018 4:20 pm

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.
rodc
 
Posts: 10
Joined: Fri Mar 23, 2007 7:24 pm
Location: Porto Alegre - Brazil


Return to madExcept

Who is online

Users browsing this forum: No registered users and 5 guests