[PATCH 1/2] Add error reporting to threadMgr

Brian C. Lane bcl at redhat.com
Mon Jan 28 14:36:43 UTC 2013


On Mon, Jan 28, 2013 at 11:02:19AM +0100, Vratislav Podzimek wrote:
> On Thu, 2013-01-24 at 15:21 -0800, Brian C. Lane wrote:
> > From: "Brian C. Lane" <bcl at redhat.com>
> > @@ -93,6 +121,7 @@ class AnacondaThread(threading.Thread):
> >              raise
> >          except:
> >              sys.excepthook(*sys.exc_info())
> > +            threadMgr.set_error(self.name, *sys.exc_info())
> I believe the last two lines should be swapped. It is not the case now,
> but sys.excepthook() invocation may end with sys.exit() or something
> like that resulting in no info added to threadMgr.

Thanks, done!

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130128/66db84b7/attachment.sig>


More information about the anaconda-patches mailing list