mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 06:35:38 +01:00
Add logs
This commit is contained in:
@@ -8,6 +8,7 @@ from taskiq.result import TaskiqResult
|
|||||||
class FastAPIREtryMiddleware(SimpleRetryMiddleware):
|
class FastAPIREtryMiddleware(SimpleRetryMiddleware):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _is_need_to_remove(to_remove: list[Any], value: Any) -> bool:
|
def _is_need_to_remove(to_remove: list[Any], value: Any) -> bool:
|
||||||
|
print(type(value), to_remove)
|
||||||
return type(value) in to_remove
|
return type(value) in to_remove
|
||||||
|
|
||||||
async def on_error(
|
async def on_error(
|
||||||
|
|||||||
Reference in New Issue
Block a user