Merge pull request #11713 from saurabh6790/email-exception
fix: handle FileAlreadyAttachedException while pulling email
This commit is contained in:
commit
3d31c68880
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue