Commit aa9075c5 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

More logging for errors during noded RPC calls

Reviewed-by: iustinp
parent aa65ed72
......@@ -66,7 +66,11 @@ class NodeDaemonRequestHandler(http.HTTPRequestHandler):
raise httperror.HTTPNotFound()
try:
return method(self.post_data)
try:
return method(self.post_data)
except:
logging.exception("Error in RPC call")
raise
except errors.QuitGanetiException, err:
# Tell parent to quit
os.kill(self.server.noded_pid, signal.SIGTERM)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment