VirtualBox

Changeset 106775 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Oct 29, 2024 2:13:49 PM (3 months ago)
Author:
vboxsync
Message:

ValKit/vbox.py: Fixed unbound variable error in errorXcpt call in registerDerivedEventHandler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r106061 r106775  
    643643                    dArgsCopy['oListener'] = oListener;
    644644                    oRet = oSubClass(dArgsCopy);
    645             except:
    646                 reporter.errorXcpt('%s::eventSource.createListener(%s) failed%s' % (sSrcParentNm, oListener, sLogSuffix));
     645            except Exception as oXcpt:
     646                reporter.errorXcpt('%s::eventSource.createListener(%s, %s) failed: %s%s'
     647                                   % (sSrcParentNm, oSubClass, dArgsCopy, oXcpt, sLogSuffix));
    647648            else:
    648649                try:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette