fix: Explicitly commit "log_error" since its getting called during GET request (#31952)
diff --git a/erpnext/erpnext_integrations/exotel_integration.py b/erpnext/erpnext_integrations/exotel_integration.py
index fd9f74e..fd0f783 100644
--- a/erpnext/erpnext_integrations/exotel_integration.py
+++ b/erpnext/erpnext_integrations/exotel_integration.py
@@ -26,6 +26,7 @@
except Exception as e:
frappe.db.rollback()
exotel_settings.log_error("Error in Exotel incoming call")
+ frappe.db.commit()
@frappe.whitelist(allow_guest=True)