mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Improve error messages from scanner errors #2356
This commit is contained in:
parent
55d57d0b58
commit
95c2bc0702
@ -635,7 +635,7 @@ def process_rule(self):
|
||||
for x in self.generator.to_list(getattr(self.generator, 'deps', None)):
|
||||
node = self.generator.path.find_resource(x)
|
||||
if not node:
|
||||
self.generator.bld.fatal('Could not find %r (was it declared?)' % x)
|
||||
self.generator.bld.fatal('Could not find %r in %r (was it declared?)' % (x, self.generator))
|
||||
nodes.append(node)
|
||||
return [nodes, []]
|
||||
cls.scan = scan
|
||||
|
Loading…
Reference in New Issue
Block a user