Problem with displaying description of error too large.

delphi package - automated exception handling

Problem with displaying description of error too large.

Postby luciano_f » Fri Feb 09, 2018 7:25 pm

I have some Exceptions that the description of the error is very Big this usually when they are SQL where I show all the content of the SQL that generated the Error, when this happens MadExcept can not show all the Error.
   The eurekaLog puts a scroll bar when the text is too large would be interesting something like that in MadExcept

See attached image.
Attachments
Erro madExcept.jpg
Erro madExcept.jpg (220.97 KiB) Viewed 251 times
luciano_f
 
Posts: 23
Joined: Thu Feb 01, 2018 5:11 pm

Re: Problem with displaying description of error too large.

Postby madshi » Mon Feb 12, 2018 7:03 pm

Is this really something the average user should see? I think it would be wiser to add some processing in an RegisterExceptionHandler() callback to check the exception message. If it's as long and cryptic as this one, I'd replace it for the user with something which might actually help the user? You can access (read and write) the main text label of the exception box in your handler by accessing "exceptIntf.ExceptMsg".
madshi
Site Admin
 
Posts: 9757
Joined: Sun Mar 21, 2004 5:25 pm

Re: Problem with displaying description of error too large.

Postby luciano_f » Sun Feb 18, 2018 11:30 am

I understood that I was able to change this behavior.
Thankful.
luciano_f
 
Posts: 23
Joined: Thu Feb 01, 2018 5:11 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 3 guests

cron