Problem with displaying description of error too large.

delphi package - automated exception handling
Post Reply
luciano_f
Posts: 47
Joined: Thu Feb 01, 2018 5:11 pm

Problem with displaying description of error too large.

Post by luciano_f »

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.29 KiB) Viewed 3510 times
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Problem with displaying description of error too large.

Post by madshi »

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".
luciano_f
Posts: 47
Joined: Thu Feb 01, 2018 5:11 pm

Re: Problem with displaying description of error too large.

Post by luciano_f »

I understood that I was able to change this behavior.
Thankful.
Post Reply