сhore: code refactoring

This commit is contained in:
ITQ
2025-01-26 17:41:17 +03:00
parent 9865480060
commit 424b0e7463
8 changed files with 40 additions and 28 deletions
@@ -100,11 +100,9 @@ class AntifraudServiceInteractor:
cache.set(cache_key, result)
return result
except Exception as e:
except Exception:
logger.exception(
"Unexpected error during antifraud validation: %s",
e, # noqa: TRY401
"Unexpected error during antifraud validation",
)
return {"ok": False}