From 687af5ccc47657b7729369888d0fc4f9377efb9d Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 23 May 2017 11:17:09 +0530 Subject: [PATCH] [minor] set response in app.py --- frappe/app.py | 1 + frappe/frappeclient.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) 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):