Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6240

Hook method to display more information on ExceptionErrorPage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.0.0-M2, 7.5.0
    • None
    • None
    • Patch

    Description

      Currently one of our customer is testing our application and every time an exception occurs he just copies the complete content of the ExceptionErrorPage into a ticket and forgets most of the times to include further information that we requested, e.g. a timestamp.

      At the moment I'm using a custom ExceptionMapper to render a custom error page which enriches the existing ExceptionErrorPage with a few data from the session and a timestamp.

      It would be nice if this could be done more easily.

      Attached you will find a trivial patch which does exactly that: add a timestamp and provide a hook-method in the Application class which can be overwritten to provide more information which should be displayed on the error page.

      Attachments

        1. CustomizedErrorPage.patch
          2 kB
          Joachim Rohde

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            joachimrohde Joachim Rohde
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: