fix: replace print() with logger in tracing.py and bounty.py, fix bare except in staking.py and auth_fixtures.py

This commit is contained in:
aitbc
2026-05-25 13:03:34 +02:00
parent a80415321a
commit d02ce816a9
4 changed files with 56 additions and 49 deletions

View File

@@ -115,7 +115,7 @@ def mock_auth_service():
try:
decoded = jwt.decode(token, "test_secret_key_for_jwt_signing_please_change_in_production", algorithms=["HS256"])
return decoded
except:
except Exception:
return None
def mock_generate_token(user_id: str, role: str = "user") -> str: