Maor Lipchuk has uploaded a new change for review.

Change subject: bindingXMLRPC: Log unhandled exception for new Thread
......................................................................

bindingXMLRPC: Log unhandled exception for new Thread

Adding a traceback log for unhandled exceptions when execute
start in BindingXMLRPC class so it will not die silently.

Change-Id: I2861f1caad84d29d8cbca39613a0ad3f061a3b0c
Signed-off-by: Maor Lipchuk <[email protected]>
---
M vdsm/BindingXMLRPC.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/82/23082/1

diff --git a/vdsm/BindingXMLRPC.py b/vdsm/BindingXMLRPC.py
index af9ab9d..c914258 100644
--- a/vdsm/BindingXMLRPC.py
+++ b/vdsm/BindingXMLRPC.py
@@ -67,6 +67,7 @@
         """
         Register xml-rpc functions and serve clients until stopped
         """
+        @utils.traceback(on=self.log.name)
         def threaded_start():
             self._registerFunctions()
             self.server.timeout = 1


-- 
To view, visit http://gerrit.ovirt.org/23082
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2861f1caad84d29d8cbca39613a0ad3f061a3b0c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to