Send report after restart

delphi package - automated exception handling
Post Reply
rodc
Posts: 10
Joined: Fri Mar 23, 2007 7:24 pm
Location: Porto Alegre - Brazil

Send report after restart

Post by rodc »

Have MadException an option to first restart and than show the erro alert to user choose send or not the erro report?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Send report after restart

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

Re: Send report after restart

Post 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.
Post Reply