Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3337

Improved Freemarker template exception logging should still backwards compatible ignore exceptions

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.30.01
    • 2.30.02, CMS-10.0-GA
    • None

    Description

      With HSTTWO-3134 the freemarker template exception logging was much improvement, but for that purpose the default configured freemarker exception handler was switched from "debug" to "rethrow".
      This allowed intercepting and better logging of the exceptions, but as a 'side-effect' also caused freemarker to stop processing, while before it silently continued.
      This is an not backwards compatible change which isn't needed.
      Instead, by creating our own exception handler, which provides the improved exception logging while also using the 'ignore' behavior of continued processing, we can also retain backwards compatibility.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adouma Ate Douma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: