sync launch ad stability

This commit is contained in:
Dobromir Popov 2024-10-16 11:50:08 +03:00
parent 1ee8c6cb0b
commit e5d3a80259
2 changed files with 10 additions and 4 deletions

12
.vscode/launch.json vendored
View File

@ -39,8 +39,8 @@
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": {
"NODE_ENV": "demo"
"OPENAI_API_KEY":
"NODE_ENV": "demo",
"OPENAI_API_KEY":""
},
"skipFiles": [
"<node_internals>/**"
@ -69,7 +69,13 @@
"program": "${file}"
},
{
"name": "Python Debugger: Python File with Conda",
"name": "py: Sol app.py",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/crypto/sol/app.py",
},
{
"name": "Python Debugger: Python File with Conda (py)",
"type": "debugpy",
"request": "launch",
"program": "${file}",

View File

@ -1217,7 +1217,7 @@ async def wallet_watch_loop():
await unsubscribe(websocket, subscription_id)
await send_telegram_message("reconnecting...")
logger.info(f"Attempting to reconnect in {reconnect_delay} seconds...")
websocket.close()
await websocket.close()
except Exception as e:
logger.error(f"An unexpected error occurred - breaking watch loop: {e}")