added better logging

This commit is contained in:
Rudi Grinberg 2012-11-06 14:57:53 -05:00
parent b4555e9845
commit 1762e418c0
3 changed files with 4 additions and 4 deletions

View file

@ -52,8 +52,6 @@ class RequestSync(Loggable):
self.logger.info("ApiController.php probably crashed, we \
diagnose this from the fact that it did not return \
valid json")
self.logger.info("Trying again after %f seconds" %
self.request_wait)
except Exception as e: self.unexpected_exception(e)
else: self.logger.info("Request was successful")
self.watcher.flag_done() # poor man's condition variable