Bug 8460

Summary: Improve error messages in OPAC with more information to be sent to the administrator
Product: Koha Reporter: Thatcher Rea <thatcher.rea>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: dcook
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Thatcher Rea 2012-07-17 15:47:57 UTC
We've had a few scenarios recently when a library patron experiences a catalog error. The default messages say "For help, please send mail to the webmaster (test@example.com), giving this error message and the time and date of the error."

9 times out of 10, the patron will simply copy the error, and provide no additional information about the event at all. Not even what catalog they were working on, which makes these messages effectively useless.

I propose that these messages be written instead to say "Please click here to send the system administrator an error report." Which can then send an internally generated message containing:

* referring link
* the error message
* server info
* koha version, etc 

This could be sent to the address in the KohaAdminEmailAddress sypref. 

Regards,



:T
Comment 1 David Cook 2022-08-22 06:13:25 UTC
This could be an interesting feature for logged in users (especially in the staff interface). I wouldn't want to do it for public users though, as I could imagine bots sending all kinds of fun messages.