Merge "[autohelp] display information on import error"

This commit is contained in:
Jenkins 2015-12-18 08:00:12 +00:00 committed by Gerrit Code Review
commit ffa5109510
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ def import_modules(repo_location, package_name, verbose=0):
if verbose >= 2:
print(e)
continue
except Exception as e:
print("Impossible to import module %s" % modname)
raise e
_register_runtime_opts(module, abs_path, verbose)
_run_hook(modname)