Prevent exceptions from being logged twice.

* Remove logging call in worker subclasses and rely on the
    logging in Worker.handle_error to do the proper logging.
This commit is contained in:
Paul J. Davis 2011-01-29 16:40:25 -05:00
parent 885b530e1a
commit cdd58014a7
2 changed files with 0 additions and 2 deletions

View File

@ -46,7 +46,6 @@ class AsyncWorker(base.Worker):
else:
self.log.debug("Ignoring EPIPE")
except Exception, e:
self.log.exception("General error processing request.")
self.handle_error(client, e)
finally:
util.close(client)

View File

@ -76,7 +76,6 @@ class SyncWorker(base.Worker):
else:
self.log.debug("Ignoring EPIPE")
except Exception, e:
self.log.exception("Error processing request.")
self.handle_error(client, e)
finally:
util.close(client)