freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FREEMARKER-5) Suppress logging of exceptions
Date Fri, 30 Oct 2015 16:20:28 GMT

     [ https://issues.apache.org/jira/browse/FREEMARKER-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Dekany resolved FREEMARKER-5.
------------------------------------
    Resolution: Implemented

OK, then I close this. (As of the use case, then {{#attempt}} should bypass some exceptions...
similarly as java try/catch can.)

> Suppress logging of exceptions
> ------------------------------
>
>                 Key: FREEMARKER-5
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-5
>             Project: Apache Freemarker
>          Issue Type: Wish
>            Reporter: Roli Z├╝ger
>
> According to the documentation all exceptions are logged. Even if there is a special
TemplateExceptionHandler, logging of a certain exception cannot be suppressed.
> (see also freemarker.core.Environment#handleTemplateException)
> At some points we want to exit the template rendering process by throwing an exception
(from our TemplateDirectiveModel implementations). We're handling these exceptions later and
don't want them to clutter the log files.
> Documentation: http://freemarker.org/docs/pgui_config_errorhandling.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message