Merge pull request #11713 from saurabh6790/email-exception

fix: handle FileAlreadyAttachedException while pulling email
This commit is contained in:
mergify[bot] 2020-11-02 10:53:17 +00:00 committed by GitHub
commit 3d31c68880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -540,6 +540,8 @@ class Email:
except MaxFileSizeReachedError:
# WARNING: bypass max file size exception
pass
except frappe.FileAlreadyAttachedException:
pass
except frappe.DuplicateEntryError:
# same file attached twice??
pass