fix: Explicitly commit "log_error" since its getting called during GET request (#31952)

This commit is contained in:
Suraj Shetty 2022-08-24 18:24:39 +05:30 committed by GitHub
parent 0e26df331c
commit 122f1c0ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ def handle_incoming_call(**kwargs):
except Exception as e:
frappe.db.rollback()
exotel_settings.log_error("Error in Exotel incoming call")
frappe.db.commit()
@frappe.whitelist(allow_guest=True)