aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/java.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-08-29 19:31:38 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-09-12 19:16:59 -0400
commit719dd0d2a04592812194e8588279827ec52fc92e (patch)
tree2377d9867c777d0262a34c249c0cc3c7f0c30b3d /mesonbuild/modules/java.py
parentb821a0351136b3b3872e2ba9da8f7c67c4275449 (diff)
downloadmeson-719dd0d2a04592812194e8588279827ec52fc92e.zip
meson-719dd0d2a04592812194e8588279827ec52fc92e.tar.gz
meson-719dd0d2a04592812194e8588279827ec52fc92e.tar.bz2
dependencies: log the real reason for a dependency lookup failing
In the debug logs, always log if a dependency lookup raises a DependencyException. In the `required: false` case, this information would otherwise disappear forever, and we would just not even log that we tried it -- it doesn't appear in "(tried x, y and z)". In the `required: true` case, we would re-raise the first exception if it failed to be detected. Update the raise message with the same information we print to the debug logs, indicating which dependency and which method was used in the failing attempt.
Diffstat (limited to 'mesonbuild/modules/java.py')
0 files changed, 0 insertions, 0 deletions