Fixed an error message
This commit is contained in:
parent
5df2baf787
commit
724942e1b4
|
@ -201,7 +201,7 @@ if __name__ == "__main__":
|
||||||
# Configuration for WebSocket
|
# Configuration for WebSocket
|
||||||
WS_URL = os.getenv('SERVER_CONNECTION_URL')
|
WS_URL = os.getenv('SERVER_CONNECTION_URL')
|
||||||
if not WS_URL:
|
if not WS_URL:
|
||||||
raise ValueError("The environment variable SERVER_URL is not set. Please set it to proceed.")
|
raise ValueError("The environment variable SERVER_CONNECTION_URL is not set. Please set it to proceed.")
|
||||||
|
|
||||||
# Start the WebSocket communication
|
# Start the WebSocket communication
|
||||||
asyncio.create_task(websocket_communication(WS_URL))
|
asyncio.create_task(websocket_communication(WS_URL))
|
||||||
|
|
Loading…
Reference in New Issue