mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
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:
parent
533bfbf492
commit
c4a3a89783
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user