VirtualBox

Ignore:
Timestamp:
Feb 10, 2023 6:19:00 PM (2 years ago)
Author:
vboxsync
Message:

testmanager/partial-db-dump.py: Include the zipfile.ZipFile error in the message and drop the -f stuff that can be figured out via --help. bugref:10364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/db/partial-db-dump.py

    r98103 r98539  
    265265        try:
    266266            oZipFile = zipfile.ZipFile(self.oConfig.sFilename, 'r');
    267         except:
    268             print('error: Dump file "%s" cannot be opened! Use "-f <file>" to specify a file.' % (self.oConfig.sFilename,));
     267        except oXcpt:
     268            print('error: Failed to open dump file "%s": %s' % (self.oConfig.sFilename, oXcpt));
    269269            return 1;
    270270
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