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

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

(cherry picked from commit 122f1c0ced)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2022-08-24 18:26:08 +05:30
committed by GitHub
parent a7d23abc2f
commit 362976fa42

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)