mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
12416 widen exception catching for internal script error
This commit is contained in:
parent
39a74727c3
commit
2cd14b4dd1
@ -56,7 +56,7 @@ class ScriptModule(PythonModuleMixin, JobsMixin, ManagedFile):
|
|||||||
module = None
|
module = None
|
||||||
try:
|
try:
|
||||||
module = self.get_module()
|
module = self.get_module()
|
||||||
except OSError as e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
scripts = {}
|
scripts = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user