branch develop-1.1.x updated (2059c85c -> bfed26ad)
This is an automated email from the git hooks/post-receive script. New change to branch develop-1.1.x in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from 2059c85c Use tomcat plugin snapshot version new bfed26ad Prevent StackOverflow error from making email reception fail The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit bfed26ada35f2e55c111994c7d8aeb9823878610 Author: jcouteau <couteau@codelutin.com> Date: Wed May 23 15:12:02 2018 +0200 Prevent StackOverflow error from making email reception fail Summary of changes: .../main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop-1.1.x in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit bfed26ada35f2e55c111994c7d8aeb9823878610 Author: jcouteau <couteau@codelutin.com> Date: Wed May 23 15:12:02 2018 +0200 Prevent StackOverflow error from making email reception fail --- .../main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java b/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java index d46d2d8e..3d7c25f2 100644 --- a/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java +++ b/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java @@ -491,8 +491,9 @@ public class MailFilterJob extends AbstractFaxToMailJob { // important, delete mail deleteMail(message); - } catch (Exception e) { - log.error("Error while reading the email", e); + } catch (Exception | StackOverflowError e) { + log.error("Error while reading the email from " + + emailAccount.getLogin() + "@" + emailAccount.getHost(), e); } } if (log.isDebugEnabled()) { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm