[all-commits] [llvm/llvm-project] b9f5b0: [mlir][mbr] Improve diagnostics on error with `rai...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Fri Jul 15 08:16:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9f5b02fd071d494f828c3c9c2b25c671a457928
https://github.com/llvm/llvm-project/commit/b9f5b02fd071d494f828c3c9c2b25c671a457928
Author: Ingo Müller <ingomueller at google.com>
Date: 2022-07-15 (Fri, 15 Jul 2022)
Changed paths:
M mlir/utils/mbr/mbr/main.py
Log Message:
-----------
[mlir][mbr] Improve diagnostics on error with `raise from`.
This commit extends the `raise` statements on errors in user-provided
code with `from e` clauses that attach the original exception to the one
being raised. This allows to debug the root cause of the error more
easily.
Reviewed By: SaurabhJha
Differential Revision: https://reviews.llvm.org/D129762
More information about the All-commits
mailing list