зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1426499 - Add an error message for unzipping tp5n on windows. r=erahm
--HG-- extra : rebase_source : e6999c6a418acc3ff616d4e79977d08fb0e49187
This commit is contained in:
Родитель
4846d7b517
Коммит
b00603123d
|
@ -130,7 +130,16 @@ class MachCommands(MachCommandBase):
|
|||
tp5nzip,
|
||||
'-d',
|
||||
page_load_test_dir]}
|
||||
self.run_process(**unzip_args)
|
||||
try:
|
||||
self.run_process(**unzip_args)
|
||||
except Exception as exc:
|
||||
troubleshoot = ''
|
||||
if mozinfo.os == 'win':
|
||||
troubleshoot = ' Try using --web-root to specify a directory closer to the drive root.'
|
||||
|
||||
self.log(logging.ERROR, 'awsy', {'directory': page_load_test_dir, 'exception': exc},
|
||||
'Failed to unzip `tp5n.zip` into `{directory}` with `{exception}`.' + troubleshoot)
|
||||
raise exc
|
||||
|
||||
# If '--preferences' was not specified supply our default set.
|
||||
if not kwargs['prefs_files']:
|
||||
|
|
Загрузка…
Ссылка в новой задаче