Skip to content

Commit

Permalink
Verbose message
Browse files Browse the repository at this point in the history
  • Loading branch information
emnigma committed Aug 8, 2023
1 parent 8c027d0 commit 66c8fe7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion VSharp.ML.AIAgent/connection/broker_conn/socket_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def wait_for_connection(url: WSUrl):
time.sleep(GameServerConnectorConfig.CREATE_CONNECTION_TIMEOUT_SEC)
logging.info(f"Try connecting to {url}, {retries_left} attempts left")
retries_left -= 1
raise RuntimeError("Retries exsausted")
raise RuntimeError(
f"Retries exsausted wnen trying to connect to {url}: {retries_left} left"
)


@contextmanager
Expand Down

0 comments on commit 66c8fe7

Please sign in to comment.