refactor: improve error handling and remove hardcoded credentials
- Changed bare except clauses to specific exception types in web3_utils.py, testing.py, messages.py, and message_storage.py - Replaced print() calls with logger in testing.py, agent_discovery.py, compliance_agent.py, coordinator.py, trading_agent.py, keys.py, escrow.py, persistent_spending_tracker.py, sync_cli.py, and client.py - Added logger initialization using get_logger(__name__) in compliance_agent.py, coordinator.py, trading_agent.py, keys.py, escrow.py, persistent_spending_tracker.py, and client.py - Removed hardcoded secret
This commit is contained in:
@@ -9,7 +9,7 @@ python = "^3.13"
|
||||
fastapi = ">=0.115.6"
|
||||
uvicorn = "^0.24.0"
|
||||
httpx = ">=0.28.1"
|
||||
aitbc-core = {path = "../../packages/py/aitbc-core", develop = true}
|
||||
|
||||
|
||||
[tool.poetry.group.test.dependencies]
|
||||
pytest = ">=9.0.3"
|
||||
|
||||
Reference in New Issue
Block a user