Removed a lot of logging
This commit is contained in:
parent
9190c62a80
commit
cb302d58f5
1 changed files with 0 additions and 10 deletions
|
@ -311,11 +311,6 @@ class PyiCloudService(object):
|
||||||
data=json.dumps(data),
|
data=json.dumps(data),
|
||||||
headers=headers,
|
headers=headers,
|
||||||
)
|
)
|
||||||
LOGGER.debug(req.headers)
|
|
||||||
try:
|
|
||||||
LOGGER.debug(req.json())
|
|
||||||
except:
|
|
||||||
LOGGER.debug(req)
|
|
||||||
except PyiCloudAPIResponseException as error:
|
except PyiCloudAPIResponseException as error:
|
||||||
msg = "Invalid email/password combination."
|
msg = "Invalid email/password combination."
|
||||||
raise PyiCloudFailedLoginException(msg, error)
|
raise PyiCloudFailedLoginException(msg, error)
|
||||||
|
@ -358,11 +353,6 @@ class PyiCloudService(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
self.data = req.json()
|
self.data = req.json()
|
||||||
LOGGER.debug(req.headers)
|
|
||||||
try:
|
|
||||||
LOGGER.debug(req.json())
|
|
||||||
except:
|
|
||||||
LOGGER.debug(req)
|
|
||||||
except PyiCloudAPIResponseException as error:
|
except PyiCloudAPIResponseException as error:
|
||||||
msg = "Invalid email/password combination."
|
msg = "Invalid email/password combination."
|
||||||
raise PyiCloudFailedLoginException(msg, error)
|
raise PyiCloudFailedLoginException(msg, error)
|
||||||
|
|
Loading…
Reference in a new issue