From cb302d58f5b40f9147d6187db59ae34a3cf336de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccolo=CC=80=20Zapponi?= Date: Wed, 9 Dec 2020 08:14:40 +0000 Subject: [PATCH] Removed a lot of logging --- pyicloud/base.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pyicloud/base.py b/pyicloud/base.py index dda080b..ad6983e 100644 --- a/pyicloud/base.py +++ b/pyicloud/base.py @@ -311,11 +311,6 @@ class PyiCloudService(object): data=json.dumps(data), headers=headers, ) - LOGGER.debug(req.headers) - try: - LOGGER.debug(req.json()) - except: - LOGGER.debug(req) except PyiCloudAPIResponseException as error: msg = "Invalid email/password combination." raise PyiCloudFailedLoginException(msg, error) @@ -358,11 +353,6 @@ class PyiCloudService(object): ) self.data = req.json() - LOGGER.debug(req.headers) - try: - LOGGER.debug(req.json()) - except: - LOGGER.debug(req) except PyiCloudAPIResponseException as error: msg = "Invalid email/password combination." raise PyiCloudFailedLoginException(msg, error)