zephyr_mirror: Fix logging messages to multiple files under /tmp.
Also fixes the fact that certain output was not logged at all. (imported from commit 0e63a9ef4105921ad7cbe3f7565ce7832c5db25e)
This commit is contained in:
parent
9ebfa84385
commit
630b7ae521
2 changed files with 59 additions and 49 deletions
|
@ -20,7 +20,7 @@ def fetch_public_streams():
|
|||
if res.get("result") == "success":
|
||||
streams = res["streams"]
|
||||
else:
|
||||
logging.error("Error getting public streams:\n%s" % res)
|
||||
logging.error("Error getting public streams:\n%s" % (res,))
|
||||
return None
|
||||
except Exception:
|
||||
logging.exception("Error getting public streams:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue