fix: add platega debug

This commit is contained in:
3252a8
2026-04-27 14:48:58 +03:00
parent 70b618a94b
commit 9f556f3e04
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -59,6 +59,14 @@ class PlategaService:
)
if not self.configured:
logging.warning("PlategaService initialized but not fully configured. Payments disabled.")
else:
logging.info(
"PlategaService configured. SBP button: %s (method=%s), Crypto button: %s (method=%s)",
"ON" if settings.PLATEGA_SBP_ENABLED else "OFF",
self.sbp_method,
"ON" if settings.PLATEGA_CRYPTO_ENABLED else "OFF",
self.crypto_method,
)
async def _get_session(self) -> ClientSession:
if self._session is None or self._session.closed: