athena: log before trying to connect

This commit is contained in:
Willem Melching 2021-05-25 17:47:20 +02:00
parent f5af6becc8
commit 8f3e395a1f

View file

@ -441,6 +441,7 @@ def main():
conn_retries = 0
while 1:
try:
cloudlog.event("athenad.main.connecting_ws", ws_uri=ws_uri)
ws = create_connection(ws_uri,
cookie="jwt=" + api.get_token(),
enable_multithread=True,