branch develop updated (ecb2ceaf -> 98bfb1e2)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from ecb2ceaf fixes #10028 new 98bfb1e2 fixes #10029 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 98bfb1e2e6f4de90d8cd0dfd7c0aec9b2466d481 Author: jcouteau <couteau@codelutin.com> Date: Thu Jul 12 12:00:14 2018 +0200 fixes #10029 Summary of changes: .../com/franciaflex/faxtomail/services/service/EmailServiceImpl.java | 2 +- .../src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java | 2 +- 2 files changed, 2 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 in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 98bfb1e2e6f4de90d8cd0dfd7c0aec9b2466d481 Author: jcouteau <couteau@codelutin.com> Date: Thu Jul 12 12:00:14 2018 +0200 fixes #10029 --- .../com/franciaflex/faxtomail/services/service/EmailServiceImpl.java | 2 +- .../src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailServiceImpl.java b/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailServiceImpl.java index 3704ba3d..813db13c 100644 --- a/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailServiceImpl.java +++ b/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/service/EmailServiceImpl.java @@ -2394,7 +2394,7 @@ public class EmailServiceImpl extends FaxToMailServiceSupport implements EmailSe result.setOriginalFileName(name + ".pdf"); result.setAddedByUser(false); - } catch (OutOfMemoryError | DocumentException er) { + } catch (OutOfMemoryError | DocumentException | StackOverflowError er) { // certains mails (spam) très compliqués ne peuvent pas être convertit en images if (log.isWarnEnabled()) { log.warn("Can't convert html content to pdf", er); 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 e5d2908a..d00c9de5 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 @@ -177,7 +177,7 @@ public class MailFilterJob extends AbstractFaxToMailJob { inbox = defaultFolder.getFolder("INBOX"); checkEmailsOfFolder(account, inbox); - } catch (Exception e) { + } catch (Exception | Error e) { log.error("Error while getting emails from the mailbox " + account.getLogin() + "@" + account.getHost(), e); } finally { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm