Change in vdsm[master]: utils: Add unhandled exceptions logging decorator

sgotliv at redhat.com sgotliv at redhat.com
Wed Nov 27 16:00:48 UTC 2013


Sergey Gotliv has posted comments on this change.

Change subject: utils: Add unhandled exceptions logging decorator
......................................................................


Patch Set 3:

(1 comment)

....................................................
File lib/vdsm/utils.py
Line 576: 
Line 577:     return (proc.returncode, out, err)
Line 578: 
Line 579: 
Line 580: def logged(on="", msg="Unhandled exception"):
Please, find more accurate name for that method.
Line 581:     """
Line 582:     Log a traceback for unhandled execptions.
Line 583: 
Line 584:     :param on: Use specific logger name instead of root logger


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I39265bac4f26fefa365bad080dafb6106145f846
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list