Return-Path: X-Original-To: apmail-freemarker-notifications-archive@minotaur.apache.org Delivered-To: apmail-freemarker-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC0381895B for ; Fri, 30 Oct 2015 16:20:40 +0000 (UTC) Received: (qmail 49197 invoked by uid 500); 30 Oct 2015 16:20:37 -0000 Delivered-To: apmail-freemarker-notifications-archive@freemarker.apache.org Received: (qmail 49178 invoked by uid 500); 30 Oct 2015 16:20:37 -0000 Mailing-List: contact notifications-help@freemarker.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@freemarker.incubator.apache.org Delivered-To: mailing list notifications@freemarker.incubator.apache.org Received: (qmail 49169 invoked by uid 99); 30 Oct 2015 16:20:37 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 16:20:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5199D1809A6 for ; Fri, 30 Oct 2015 16:20:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TFtIk2Fo5pem for ; Fri, 30 Oct 2015 16:20:28 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 847A520F4D for ; Fri, 30 Oct 2015 16:20:28 +0000 (UTC) Received: (qmail 47910 invoked by uid 99); 30 Oct 2015 16:20:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 16:20:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 18E842C1F81 for ; Fri, 30 Oct 2015 16:20:28 +0000 (UTC) Date: Fri, 30 Oct 2015 16:20:28 +0000 (UTC) From: "Daniel Dekany (JIRA)" To: notifications@freemarker.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FREEMARKER-5) Suppress logging of exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FREEMARKER-5?page=3Dcom.atlass= ian.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=C3=BCger > > According to the documentation all exceptions are logged. Even if there i= s 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 hand= ling 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)