Bot auto-update: src/web_dashboard.py
This commit is contained in:
parent
341778987a
commit
4d28faa476
|
|
@ -76,7 +76,7 @@ async def get_state():
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
return resp.json()
|
return resp.json()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warning(fState Manager unavailable, using cached state: {e})
|
logger.warning(f"State Manager unavailable, using cached state: {e})
|
||||||
|
|
||||||
# Fallback to cached state
|
# Fallback to cached state
|
||||||
return trading_state
|
return trading_state
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue