Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135575

Add silent catch option to Freemarker attempt block

    Details

      Description

      Please add an option, directive, wrapper thingy, ... to freemarker that allows me to "silently" catch exceptions.

      Rationale:

      When I use an attempt block I often know that the call will fail in some cases. I can then use <#attempt> and <#recover> directives to work around that. But even when I catch such errors with an attempt block, the exception is still written to the logfile. If the error is unexpected, that's just fine. If the error is "common", it dumps a lot of unnecessary errors into the logfile.

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            crabel Christoph Rabel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package