Skip to content

Commit

Permalink
Do not return error if tracing raises error (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
boecklim authored Aug 19, 2024
1 parent 059edf8 commit b9ffd18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/arc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ func run() error {
if arcConfig.Tracing != nil {
cleanup, err := enableTracing(logger, arcConfig.Tracing.DialAddr)
if err != nil {
return err
logger.Error("failed to enable tracing", slog.String("err", err.Error()))
} else {
shutdownFns = append(shutdownFns, cleanup)
}
shutdownFns = append(shutdownFns, cleanup)
}

go func() {
Expand Down

0 comments on commit b9ffd18

Please sign in to comment.