Log virtinst exception if we fail to import at startup

This commit is contained in:
Cole Robinson 2009-12-03 10:20:36 -05:00
parent 2d8c6e49fe
commit f6c29ff8ea

View File

@ -307,6 +307,7 @@ def main():
ignore = virtinst.__version__
ignore = virtinst.__version_info__
except Exception, e:
logging.exception("Error import virtinst")
raise RuntimeError(str(e) + "\n\n" + msg)
if virtinst.__version_info__ < virtinst_version: