fix: Explicitly commit "log_error" since its getting called during GET request (#31952)
This commit is contained in:
parent
0e26df331c
commit
122f1c0ced
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user