Browse Source

hide more data in debug mode

pull/128/head
Sébastien BEAU 8 years ago
committed by MonsieurB
parent
commit
baf957f235
  1. 7
      smsclient_ovh/sms_gateway.py

7
smsclient_ovh/sms_gateway.py

@ -84,7 +84,12 @@ class SmsSms(models.Model):
self.ensure_one()
params = self._prepare_http_ovh()
r = requests.get(self.gateway_id.url, params=params.items())
params['password'] = '*****'
params.update({
'password': '*****',
'to': '*****',
'smsAccount': '*****',
'login': '*****',
})
_logger.debug("Call OVH API : %s params %s",
self.gateway_id.url, params)
response = r.text

Loading…
Cancel
Save