Moved the handlers from a user_data directory to a handler directory.

This commit is contained in:
Joshua Harlow
2012-06-15 17:35:07 -07:00
parent 1559180eea
commit a4ce519571
35 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ class BootHookPartHandler(ud.PartHandler):
env['INSTANCE_ID'] = str(self.instance_id)
util.subp([filepath], env=env)
except util.ProcessExecutionError as e:
LOG.error("Boothooks script %s execution error %s", filepath, e)
util.logexc(LOG, "Boothooks script %s execution error", filepath)
except Exception as e:
LOG.exception(("Boothooks unknown "
"error %s when running %s"), e, filepath)
util.logexc(LOG, ("Boothooks unknown "
"error when running %s"), filepath)