From 42e2630d3eb27b202b396fbe7a58f72d2ab2d3a7 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sat, 27 May 2017 03:10:42 +0300 Subject: [PATCH] Write info about uploaded files to log. --- aiogram/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/api.py b/aiogram/api.py index 2d9ac281..75684186 100644 --- a/aiogram/api.py +++ b/aiogram/api.py @@ -76,7 +76,7 @@ def _compose_data(params, files=None): async def request(session, token, method, data=None, files=None): - log.debug(f"Make request: '{method}' with data: {data or {}}") + log.debug(f"Make request: '{method}' with data: {data or {}} and files {files or {}}") url = API_URL.format(token=token, method=method) data = _compose_data(data, files) async with session.post(url, data=data) as response: