diff options
author | Richard Jones <richard@mechanicalcat.net> | 2013-01-15 09:45:50 +1100 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2013-01-15 09:45:50 +1100 |
commit | e76c0d7486063c6b8fc673275921f2ef09e419ad (patch) | |
tree | 2e465a9e389148fef1b3f12a4a6cb623ebbf2af4 /rpc.py | |
parent | 6c40aae934fe1fcc57c97546b7ec8305818e1bee (diff) | |
download | decorator-e76c0d7486063c6b8fc673275921f2ef09e419ad.tar.gz |
undo logging of exceptions as they're very noisy
Diffstat (limited to 'rpc.py')
-rw-r--r-- | rpc.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -46,7 +46,6 @@ class RequestHandler(SimpleXMLRPCDispatcher): # This should be thread-safe, as the store is really a singleton self.store = webui_obj.store except Exception, e: - logging.exception('reading input') # report as a fault to caller rather than propogating up to generic # exception handler response = xmlrpclib.dumps( @@ -65,11 +64,7 @@ class RequestHandler(SimpleXMLRPCDispatcher): if not method.startswith('system.'): # Add store to all of our own methods params = (self.store,)+tuple(params) - try: - return SimpleXMLRPCDispatcher._dispatch(self, method, params) - except Exception, e: - logging.exception('calling %r with %r' % (method, params)) - raise + return SimpleXMLRPCDispatcher._dispatch(self, method, params) def system_multicall(self, call_list): if len(call_list) > 100: |