def checkStatus(self): try: clientConfig = self.mainParent.clientConfig logger.debug("Connecting to status API") response = self.rest.POSTRequest(uri=ClientURISettings.getStatusUri(), content=clientConfig.getConfigurationXml()) self.handleStatusResponse(response, self.mainParent) except Exception as err: logger.error("Error: " + str(err))
def checkStatus(self): try: clientConfig = self.mainParent.clientConfig logger.debug("Connecting to status API") response = self.rest.POSTRequest( uri=ClientURISettings.getStatusUri(), content=clientConfig.getConfigurationXml()) self.handleStatusResponse(response, self.mainParent) except Exception as err: logger.error("Error: " + str(err))