Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MDrakos committed Sep 11, 2023
1 parent f855977 commit 59fd76b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/runners/hello/hello_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ func New(p primeable) *Hello {
}
}

// Run wraps the scope in which the hello runner logic is executed. This
// is to ensure we catch specific errors that we are looking for and wrap
// them in a user-facing error.
// processError contains the scope in which errors are processed. This is
// useful for ensuring that errors are wrapped in a user-facing error and
// localized.
func processError(err *error) {
if err != nil {
switch {
Expand Down

0 comments on commit 59fd76b

Please sign in to comment.