Merge "Changing 'raise e' to 'raise' to prevent exception masking"
This commit is contained in:
commit
787b48019f
|
@ -132,7 +132,7 @@ def import_modules(repo_location, package_name, verbose=0):
|
|||
continue
|
||||
except Exception as e:
|
||||
print("Impossible to import module %s" % modname)
|
||||
raise e
|
||||
raise
|
||||
|
||||
_register_runtime_opts(module, abs_path, verbose)
|
||||
_run_hook(modname)
|
||||
|
|
Loading…
Reference in New Issue