On 2014-08-04 12:08, Kevin Cully wrote:
I don't have my error handler code on the VM that I have open right
now so this is from memory.

I opened up a form with a red background and gave them a "Print",
"Continue", "Cont. w/ Revert" or "Quit Application" option.
It shows the Error Number, and the Error message.
There is a text area for them to "Please enter a description of the
conditions when this error occurred:". This message would show up on
the printed report if entered.

What you've described is nice but a bit more than I'd do. I want the email logged, uploaded to the database, and an email alert sent to me, but I'd nix the Print option; that's just my preference.


The user could then click the "expand" triangle, that exposes extra
fields if they so choose: Date and time of error, user, Line number,
Line of code, and program.

I am currently asking them if they want to see the details from a nice non-geeky messagebox first.


This expanded portion of the screen also has it's own "expand"
triangle that exposes a page panel where they can optionally perform a
"Memory Dump", a "System Information" dump this is a ton of the SYS()
functions, and a "Benchmark" function just in case the errors are
caused by network or machine slowdowns.

Again, impressive about the Benchmark capability. Not sure I'd add that in mine though.


== My errhand.ini file would (optionally) post the values to a PHP
page on my website, that would record the event and then email me the
values.  Most people have Internet access but not all have the same
email capabilities so (optionally) posting to the web is a great way
to get notified of errors that your users aren't telling you about.

Nice!


== A friend of mine configured his error handle to take a screenshot
showing what the user was doing when the program encountered the
error.

I had a "Send comments" simple form that was called via some ON KEY sequence and it collected the current open screens (not just the top one) and allowed the user to send comments to me. Slick. It used some GDIPlus magic I got here from someone (Cesar?).

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to