Bug 1386997 - Log both URL and source file when we can't find a mapped file. r=chmanchester

--HG--
extra : rebase_source : 7bad85c2aaebea9916ca0670bea53d6fb864bff8
This commit is contained in:
Marco Castelluccio 2017-08-03 11:44:14 +02:00
parent 533bfbf492
commit c4a3a89783

View File

@ -684,7 +684,7 @@ class LcovFileRewriter(object):
return None
source_file, objdir_file, preprocessed = res
assert os.path.isfile(source_file), "Couldn't find mapped source file at %s!" % source_file
assert os.path.isfile(source_file), "Couldn't find mapped source file %s at %s!" % (url, source_file)
if preprocessed and not self.pp_rewriter.has_pp_info(source_file):
obj_path = os.path.join(self.topobjdir, objdir_file)
with open(obj_path) as fh: