commit | 82e599d484f90bcf678997b841a7189aa399e499 | [log] [tgz] |
---|---|---|
author | Phoebe Tang <phoebetang@google.com> | Wed Jun 11 05:37:52 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 11 05:37:52 2025 |
tree | 33923736421e1694ef439906614f4b91d76bd50c | |
parent | b413fbfef5a0d11b214d02ae3102363d0f1260fc [diff] |
[Fleet Console] Enhance error messages Add more error types to the getErrorMessage function This handles more grpc codes and typescript exceptions Please let me know if there are any other common error handling I should add. Also if I should take out any grpc error codes. Bug:401486024 Change-Id: I87b5c4af6e628f8a79a803762c8e4f60d7a274e2 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6625302 Commit-Queue: Phoebe Tang <phoebetang@google.com> Reviewed-by: Tiffany Zhang <zhangtiff@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
It is now possible to directly install tools with go install:
go install go.chromium.org/luci/auth/client/cmd/...@latest go install go.chromium.org/luci/buildbucket/cmd/...@latest go install go.chromium.org/luci/cipd/client/cmd/...@latest go install go.chromium.org/luci/client/cmd/...@latest go install go.chromium.org/luci/cv/cmd/...@latest go install go.chromium.org/luci/gce/cmd/...@latest go install go.chromium.org/luci/grpc/cmd/...@latest go install go.chromium.org/luci/logdog/client/cmd/...@latest go install go.chromium.org/luci/luci_notify/cmd/...@latest go install go.chromium.org/luci/lucicfg/cmd/...@latest go install go.chromium.org/luci/luciexe/legacy/cmd/...@latest go install go.chromium.org/luci/mailer/cmd/...@latest go install go.chromium.org/luci/mmutex/cmd/...@latest go install go.chromium.org/luci/resultdb/cmd/...@latest go install go.chromium.org/luci/server/cmd/...@latest go install go.chromium.org/luci/swarming/cmd/...@latest go install go.chromium.org/luci/tokenserver/cmd/...@latest go install go.chromium.org/luci/tools/cmd/...@latest
Contributing uses the same flow as Chromium contributions.