Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In troubleshooting bazelbuild/bazel#23170, I had to dig deep into this code to understand what was happening. Bazel's default error does not apply to this situation, and Bazel's own debugging is also unhelpful. In fact, per the issue, in 7.x, you get `java.lang.NullPointerException: Cannot invoke "java.lang.Throwable.getMessage()" because "cause" is null`. I think this change would at least make it easier for folks to identify this issue in their own builds.
- Loading branch information