athena: log before trying to connect

old-commit-hash: 8f3e395a1fb65f812a0782b9808a9cac1c5b862c
This commit is contained in:
Willem Melching
2021-05-25 17:47:20 +02:00
parent 74c14cd1c2
commit a46e3c5cb4
+1
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,