diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-06 20:31:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 20:31:24 +0200 |
commit | 541dd92ef7a10b0f657f3c8532ffb71a8d921f54 (patch) | |
tree | 7f9f252cd0fe52e97ba5973d8a1e0bd582920046 /mesonbuild/interpreter.py | |
parent | 155617e539a9aeccda6bd186398123b9d5521ed4 (diff) | |
parent | 27cd8c1e28f310891fa671976a0f3b4231ceb4b0 (diff) | |
download | meson-541dd92ef7a10b0f657f3c8532ffb71a8d921f54.zip meson-541dd92ef7a10b0f657f3c8532ffb71a8d921f54.tar.gz meson-541dd92ef7a10b0f657f3c8532ffb71a8d921f54.tar.bz2 |
Merge pull request #1145 from AlexandreFoley/wrap-fix
build regeneration can update wrap-git and wrap-hg in some cases.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index bb523b4..e54d906 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1740,8 +1740,9 @@ requirements use the version keyword argument instead.''') raise # If the subproject execution failed in a non-fatal way, don't raise an # exception; let the caller handle things. - except: - mlog.log('Also couldn\'t find a fallback subproject in', + except Exception as e: + mlog.warning(e) + mlog.log('Couldn\'t find a fallback subproject in', mlog.bold(os.path.join(self.subproject_dir, dirname)), 'for the dependency', mlog.bold(name)) return None |