Don't print traceback if hal is missing.

This commit is contained in:
Marc Deslauriers 2011-02-27 14:20:53 -05:00
parent 2000b41de9
commit eb9d8621c3
1 changed files with 2 additions and 3 deletions

View File

@ -83,9 +83,8 @@ class vmmHalHelper(gobject.GObject):
except Exception, e:
(_type, value, stacktrace) = sys.exc_info()
logging.error("Unable to connect to HAL to list network "
"devices: '%s'" +
str(_type) + " " + str(value) + "\n" +
traceback.format_exc(stacktrace))
"devices: " +
str(_type) + " " + str(value))
self.startup_error = str(e)
def connect(self, name, callback, *args):