From: Roland Häder <roland@mxchange.org> Date: Sun, 18 Jun 2023 01:01:08 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ca249f8108a3bccc1b9bcb56602f712937f02a4;p=fba.git Continued: - don't invoke update_data() which caused a non-existing instance being updated --- diff --git a/fba/models/instances.py b/fba/models/instances.py index 2042253..cb08eb5 100644 --- a/fba/models/instances.py +++ b/fba/models/instances.py @@ -262,11 +262,9 @@ def set_last_error(domain: str, error: dict): _set_data("last_status_code" , domain, error["status_code"]) _set_data("last_error_details", domain, error["json"]["error"] if error["json"]["error"] != "" else None) - # Running pending updated - # DEBUG: print(f"DEBUG: Invoking update_data({domain}) ...") - update_data(domain) - + # DEBUG: print(f"DEBUG: Invoking error_log.add(domain='{domain}',error[]='{type(error)}'") error_log.add(domain, error) + # DEBUG: print("DEBUG: EXIT!") def is_registered(domain: str) -> bool: