Skip to content

Commit

Permalink
コメントを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Azuki-bar committed Nov 21, 2023
1 parent 2a7639e commit 8b73ff3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/state-manager/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func main() {
return fmt.Errorf("mqtt handler error: %w", err)
})

// errGroup.Waitはeg.Goが全てerrorを返すまでwaitする
if err := eg.Wait(); err != nil {
slog.Default().Error("error in sub goroutine at main", slog.Any("error", err))
}
Expand Down

0 comments on commit 8b73ff3

Please sign in to comment.