fix(email): error object is not json parseable
This commit is contained in:
parent
121dc23dca
commit
58eeefe993
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ class EmailAccount(Document):
|
|||
elif not in_receive and any(map(lambda t: t in message, auth_error_codes)):
|
||||
self.throw_invalid_credentials_exception()
|
||||
else:
|
||||
frappe.throw(e)
|
||||
frappe.throw(cstr(e))
|
||||
|
||||
except socket.error:
|
||||
if in_receive:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue