mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 105871 - Print full path of mozconfig file used on 'mach ./configure' when error in mozconfig throws an exception. r=gps
This commit is contained in:
parent
d731e43bb7
commit
3a1086521b
@ -572,6 +572,19 @@ class MachCommandBase(MozbuildObject):
|
||||
e.objdir2))
|
||||
sys.exit(1)
|
||||
|
||||
except MozconfigLoadException as e:
|
||||
print('Error loading mozconfig: ' + e.path)
|
||||
print('')
|
||||
print(e.message)
|
||||
if e.output:
|
||||
print('')
|
||||
print('mozconfig output:')
|
||||
print('')
|
||||
for line in e.output:
|
||||
print(line)
|
||||
|
||||
sys.exit(1)
|
||||
|
||||
MozbuildObject.__init__(self, topsrcdir, context.settings,
|
||||
context.log_manager, topobjdir=topobjdir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user