fix: exception

Co-Authored-By: Himanshu <himanshuwarekar@yahoo.com>
This commit is contained in:
Rucha Mahabal 2019-08-28 13:55:26 +05:30 committed by GitHub
parent b606d4d2ad
commit 1707c3da95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ class ShopifySettings(Document):
res.raise_for_status()
deleted_webhooks.append(d)
except Exception as e:
frappe.log_error(message=frappe.get_traceback(), title=e[:140])
frappe.log_error(message=frappe.get_traceback(), title=e)
for d in deleted_webhooks:
self.remove(d)