aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/programs.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-11-26 11:21:22 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-11-29 16:36:51 -0500
commit3c039f42a066a9ae43789bcce3b2dd14ba077d82 (patch)
treec4ffea32f13dd6bdc61cb52d7fb067d13797a1c8 /mesonbuild/programs.py
parentbea735dd76db32f6ea34ab66fee496d4be2f7eb1 (diff)
downloadmeson-3c039f42a066a9ae43789bcce3b2dd14ba077d82.zip
meson-3c039f42a066a9ae43789bcce3b2dd14ba077d82.tar.gz
meson-3c039f42a066a9ae43789bcce3b2dd14ba077d82.tar.bz2
report the context, if possible, on python tracebacks
The interpreter tries to catch any exception and add the latest node information to it, but currently we only used that to print better formatted error messages on MesonException. Since we should theoretically have that property for most/all exceptions, let's percolate that upward, and message the user that an unexpected traceback was encountered, that it should be reported as a bug, and the helpful information of "how far into parsing this meson.build did we get before erroring out, anyway?"
Diffstat (limited to 'mesonbuild/programs.py')
0 files changed, 0 insertions, 0 deletions