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", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen", "internalConsoleOptions": "neverOpen",
"env": { "env": {
"NODE_ENV": "demo" "NODE_ENV": "demo",
"OPENAI_API_KEY": "OPENAI_API_KEY":""
}, },
"skipFiles": [ "skipFiles": [
"<node_internals>/**" "<node_internals>/**"
@ -69,7 +69,13 @@
"program": "${file}" "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", "type": "debugpy",
"request": "launch", "request": "launch",
"program": "${file}", "program": "${file}",

View File

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