From 595be6dcd4541b24c9c5331ec3a3724dc311814c Mon Sep 17 00:00:00 2001 From: Elliott Balsley <3991046+llamafilm@users.noreply.github.com> Date: Sat, 24 Jan 2026 19:04:06 -0800 Subject: [PATCH 1/2] log the error with error level instead of debug --- netbox/extras/models/scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/models/scripts.py b/netbox/extras/models/scripts.py index 944492d76..3d71d8308 100644 --- a/netbox/extras/models/scripts.py +++ b/netbox/extras/models/scripts.py @@ -137,7 +137,7 @@ class ScriptModule(PythonModuleMixin, JobsMixin, ManagedFile): module = self.get_module() except Exception as e: self.error = e - logger.debug(f"Failed to load script: {self.python_name} error: {e}") + logger.error(f"Failed to load script: {self.python_name} error: {e}") module = None scripts = {} From e097a848dc6791cb8d1bd7a878780c1e38cc8e0e Mon Sep 17 00:00:00 2001 From: Elliott Balsley <3991046+llamafilm@users.noreply.github.com> Date: Sat, 24 Jan 2026 19:04:14 -0800 Subject: [PATCH 2/2] display error in UI --- netbox/templates/extras/inc/script_list_content.html | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox/templates/extras/inc/script_list_content.html b/netbox/templates/extras/inc/script_list_content.html index 4bdb1bf16..70b77a27b 100644 --- a/netbox/templates/extras/inc/script_list_content.html +++ b/netbox/templates/extras/inc/script_list_content.html @@ -121,6 +121,7 @@ {% endif %}