Fixed an error message

This commit is contained in:
Zohaib Rauf 2024-02-11 05:32:43 -08:00
parent 5df2baf787
commit 724942e1b4
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ if __name__ == "__main__":
# Configuration for WebSocket
WS_URL = os.getenv('SERVER_CONNECTION_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
asyncio.create_task(websocket_communication(WS_URL))