MadExcept dialog, show exception message

delphi package - automated exception handling
Post Reply
pipy71
Posts: 2
Joined: Tue Oct 02, 2018 10:22 am

MadExcept dialog, show exception message

Post by pipy71 »

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

Re: MadExcept dialog, show exception message

Post by madshi »

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
pipy71
Posts: 2
Joined: Tue Oct 02, 2018 10:22 am

Re: MadExcept dialog, show exception message

Post by pipy71 »

Thank you!
Post Reply