bazelbuild/bazel

log download failures when allow_fail is set to true

Open

#26,336 建立於 2025年6月18日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Java (4,465 fork)batch import
P2help wantedteam-ExternalDepstype: feature request

倉庫指標

Star
 (25,384 star)
PR 合併指標
 (平均合併 22天 20小時) (30 天內合併 77 個 PR)

描述

Description of the feature request:

When a repository_ctx.download fails, it throws an exception when allow_fail=False. However, when it's set to True (as rules_python does) the failure message appears to be swallowed completely. This makes it very difficult to debug what might be failing.

Please provide some method to see the error, even if it's just a DEBUG message.

Which category does this issue belong to?

External Dependency

What underlying problem are you trying to solve with this feature?

Debugging problems with the downloader.

Which operating system are you running Bazel on?

linux

What is the output of bazel info release?

release 8.2.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

貢獻者指南