You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-23 22:37:11 +00:00
сhore: code refactoring
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user