From 122efdd3c1f2dfe32245fd0ad2eb8c0477a58040 Mon Sep 17 00:00:00 2001 From: Lukas Garberg Date: Tue, 19 Nov 2024 07:49:29 +0100 Subject: [PATCH] nipapd: Removed old debugging stuff Removed old debug logging and too wide exception handler. --- nipap/nipap/xmlrpc.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nipap/nipap/xmlrpc.py b/nipap/nipap/xmlrpc.py index cc4f5cfb6..3d6c38eac 100755 --- a/nipap/nipap/xmlrpc.py +++ b/nipap/nipap/xmlrpc.py @@ -686,7 +686,6 @@ def smart_search_prefix(self, args): """ try: - self.logger.debug('Entering ssp') res = self.nip.smart_search_prefix( args.get('auth'), args.get('query_string'), @@ -699,10 +698,7 @@ def smart_search_prefix(self, args): return res except (AuthError, NipapError) as exc: self.logger.debug(str(exc)) - self.logger.exception('unhandled..', exc) raise Fault(exc.error_code, str(exc)) - except Exception as e: - self.logger.exception('unhandled..', e) @requires_auth