Removed a lot of logging

This commit is contained in:
Niccolò Zapponi 2020-12-09 08:14:40 +00:00
parent 9190c62a80
commit cb302d58f5
No known key found for this signature in database
GPG key ID: 328B304DC670A51E

View file

@ -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)