Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev committed Dec 10, 2024
1 parent 24c2926 commit 34d1ef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ func (s *Server) Get(ctx context.Context, q *application.ApplicationQuery) (*app
for {
select {
case <-ctx.Done():
log.WithField("appName", app.Name).WithField("minVersion", minVersion).Warn("application refresh deadline exceeded")
return nil, fmt.Errorf("application refresh deadline exceeded")
case event := <-events:
if appVersion, err := strconv.Atoi(event.Application.ResourceVersion); err == nil && appVersion > minVersion {
Expand Down

0 comments on commit 34d1ef1

Please sign in to comment.