Update cert_api.py
This commit is contained in:
parent
94195b5246
commit
fe9eb7dc38
|
|
@ -371,7 +371,9 @@ fi
|
|||
response = urllib.request.urlopen(req, timeout=timeout)
|
||||
return response
|
||||
except Exception as ex:
|
||||
raise Exception("requestsPost: {}".format(str(ex)))
|
||||
|
||||
self.getError()
|
||||
raise Exception("requestsPost: {}".format(self.getError(str(ex))))
|
||||
|
||||
def getRequestJson(self, response):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue