added better logging
This commit is contained in:
parent
b4555e9845
commit
1762e418c0
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue