json_reply["status_code"] = 999
json_reply["error_message"] = f"exception['{type(exception)}']='{str(exception)}'"
json_reply["exception"] = exception
+
+ logger.debug("Invoking instances.set_last_error(%s,%s) ...", domain, exception)
instances.set_last_error(domain, exception)
raise exception
json_reply["status_code"] = 999
json_reply["error_message"] = f"exception['{type(exception)}']='{str(exception)}'"
json_reply["exception"] = exception
+
+ logger.debug("Invoking instances.set_last_error(%s,%s) ...", domain, exception)
instances.set_last_error(domain, exception)
raise exception
elif rows_key is not None and rows_key == "":
raise ValueError("Parameter 'rows_key' is an empty string")
- logger.info("Fetching list from hostname='%s',path='%s' ...", hostname, path)
+ logger.debug("Invoking get_json_api(%s,%s,headers()=%d) ...", hostname, path, len(headers))
fetched = get_json_api(
hostname,
path,
logger.debug("EXIT!")
-def set_last_error(domain: str, error: dict) -> None:
+def set_last_error(domain: str, error: any) -> None:
logger.debug("domain='%s',error[]='%s' - CALLED!", domain, type(error))
domain_helper.raise_on(domain)