misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli
2019-10-13 17:54:33 +02:00
parent 1215fda459
commit ad2fbdb9dd
2 changed files with 2 additions and 2 deletions

View File

@ -87,6 +87,6 @@ class AsyncAdvertiser(object):
self._peers[ident].update(peer)
except Exception as e:
logging.error("error while polling pwngrid-peer: %s" % e)
logging.exception("error while polling pwngrid-peer")
time.sleep(1)