diff --git a/frappe/app.py b/frappe/app.py index 1a5a49f1f8..0813e82635 100644 --- a/frappe/app.py +++ b/frappe/app.py @@ -122,6 +122,7 @@ def make_form_dict(request): frappe.local.form_dict.pop("_") def handle_exception(e): + response = None http_status_code = getattr(e, "http_status_code", 500) return_as_message = False diff --git a/frappe/frappeclient.py b/frappe/frappeclient.py index a090a0aa41..3ad77000e5 100644 --- a/frappe/frappeclient.py +++ b/frappe/frappeclient.py @@ -5,9 +5,6 @@ import frappe ''' FrappeClient is a library that helps you connect with other frappe systems - - - ''' class AuthError(Exception):