wrap: Tell which wrap-redirect file is missing

Otherwise user cannot understand which wrap file is missing or wrong
pull/8604/head
Seungha Yang 4 years ago committed by Xavier Claessens
parent 1ad469342b
commit 448b11cb7f
  1. 2
      mesonbuild/wrap/wrap.py

@ -136,7 +136,7 @@ class PackageDefinition:
raise WrapException('wrap-redirect filename must be a .wrap file')
fname = dirname / fname
if not fname.is_file():
raise WrapException('wrap-redirect filename does not exist')
raise WrapException(f'wrap-redirect {fname} filename does not exist')
self.filename = str(fname)
self.parse_wrap()
return

Loading…
Cancel
Save