MadExcept dialog, show exception message

delphi package - automated exception handling

MadExcept dialog, show exception message

Postby pipy71 » Tue Oct 02, 2018 10:37 am

In the MadExcept error dialog we get a message 'An error occurred in the application' shown to the user just above the submit bug report and continue buttons.

How can we change that standard dialog message to show the 'actual exception' message to the user?

So for example, they would get a message that may help them to correct the error themselves such as.. 'Can't write to file "C:\Users\Desktop\report.xls". Check it is not in use by another user.'

I don't want the user to see the full error bug text with code and computer details etc., I just want them to know what the error is with the option to send us the full bug report.

Please advise thanks
pipy71
 
Posts: 2
Joined: Tue Oct 02, 2018 10:22 am

Re: MadExcept dialog, show exception message

Postby madshi » Tue Oct 16, 2018 1:14 pm

Sorry for the late reply.

In the "custom strings" tabs of the madExcept settings dialog you can set the "exception box - exception message" to "%exceptMsg%". That should do what you're asking for. See here:

http://help.madshi.net/madExceptSettings10.htm
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: MadExcept dialog, show exception message

Postby pipy71 » Sat Oct 20, 2018 9:03 am

Thank you!
pipy71
 
Posts: 2
Joined: Tue Oct 02, 2018 10:22 am


Return to madExcept

Who is online

Users browsing this forum: No registered users and 5 guests

cron