mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-04 22:36:24 -06:00
log the error with error level instead of debug
This commit is contained in:
@@ -137,7 +137,7 @@ class ScriptModule(PythonModuleMixin, JobsMixin, ManagedFile):
|
|||||||
module = self.get_module()
|
module = self.get_module()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.error = 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
|
module = None
|
||||||
|
|
||||||
scripts = {}
|
scripts = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user