Skip to content

Commit

Permalink
fix: log action id in case of error (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 authored Oct 10, 2023
1 parent d57bac9 commit f4a5c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (s *service) handleActions(ctx context.Context, actions []*castai.ClusterAc
err = fmt.Errorf("%v:%w", err, ackErr)
}
if err != nil {
s.log.Errorf("handle failed: %v", err)
s.log.Errorf("handle failed id=%s error=%v", action.ID, err)
}
}(action)
}
Expand Down

0 comments on commit f4a5c5b

Please sign in to comment.