From f7053c2dc1af966af69f05a365a6d574b7c50021 Mon Sep 17 00:00:00 2001 From: sashacmc Date: Wed, 30 Jan 2019 21:41:32 +0100 Subject: [PATCH] * Exception catching fixed --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 9e9e7a7..830ee39 100755 --- a/server.py +++ b/server.py @@ -163,7 +163,7 @@ class PhotoImporterHandler(http.server.BaseHTTPRequestHandler): try: in_path = params['p'][0] - except: + except Exception as ex: self.__bad_request_response(str(ex)) logging.exception(ex) return