commit | 57e26024005fb3c93f58c7161f5eb26aadc279ec | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Feb 02 00:18:18 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 02 00:18:18 2022 |
tree | 920455b2508d029d82a5633c5b2be2e30cdf7233 | |
parent | 58b22ec79adbb1453fc86b4295d7f6a1bc57b1bf [diff] |
[led] Propagate error if `python` is not in $PATH This causes a prepBundle() to return an exec.ErrNotFound, which would be silently ignored due to not propagating the error. I actually introduced this bug myself in https://crrev.com/c/3035428. Also update cmdErr() to handle errors besides exec.ExitError - other errors would previously not be included in the error message, making them very hard to debug. Change-Id: I40c7b53d7e5f90249510c1d5bbaf0577cdac235a Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3429541 Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Yiwei Zhang <yiwzhang@google.com> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.