mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00: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
4efbf9265e
commit
af331b4b6f
@ -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