commit | a16b4bf30c476aec397a9d63ca60c7f5a5776de1 | [log] [tgz] |
---|---|---|
author | Michael Pratt <mpratt@google.com> | Mon Mar 04 12:38:43 2024 -0500 |
committer | Michael Pratt <mpratt@google.com> | Wed Mar 27 17:55:39 2024 +0000 |
tree | f10ca3d6a84cdeaccf556a54eec6adb2e8a1af07 | |
parent | 50dcffb384cf1693fb113de01c8a36debc6086d1 [diff] |
cmd/preprofile: clean up error handling This CL adjusts error handling to be a bit more idiomatic. The processing function returns errors, leaving main to log and exit on error. This CL contains no functional changes. For #58102. Change-Id: I9074127cc675e177d046474b7f01fbc37d0bd4c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/569335 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.