Bug 1402445 - Tweak the error message for errors processing mozbuild files r=gps

MozReview-Commit-ID: Js8F8OSgoWT

--HG--
extra : rebase_source : 81e8d4edf6e2fe17b42cff3fbcd0f6c3ddc96bc8
This commit is contained in:
Wes Kocher 2017-09-22 12:44:24 -07:00
parent 8677f9f1f6
commit 93c9384395

View File

@ -513,7 +513,7 @@ class SandboxValidationError(Exception):
s = StringIO()
delim = '=' * 30
s.write('\n%s\nERROR PROCESSING MOZBUILD FILE\n%s\n\n' % (delim, delim))
s.write('\n%s\nFATAL ERROR PROCESSING MOZBUILD FILE\n%s\n\n' % (delim, delim))
s.write('The error occurred while processing the following file or ')
s.write('one of the files it includes:\n')
@ -587,7 +587,7 @@ class BuildReaderError(Exception):
s = StringIO()
delim = '=' * 30
s.write('\n%s\nERROR PROCESSING MOZBUILD FILE\n%s\n\n' % (delim, delim))
s.write('\n%s\nFATAL ERROR PROCESSING MOZBUILD FILE\n%s\n\n' % (delim, delim))
s.write('The error occurred while processing the following file:\n')
s.write('\n')