Skip to content

Commit

Permalink
log prod mode exercises
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmet Turkmen <f.ahmet.turkmen@icloud.com>
  • Loading branch information
mrtrkmn committed Feb 26, 2021
1 parent 5c81a38 commit 1e444a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/exercise.go
Expand Up @@ -44,6 +44,7 @@ func (d *daemon) ListExercises(ctx context.Context, req *pb.Empty) (*pb.ListExer
if d.conf.ProductionMode && e.Status == 1 {
// do not include exercises which are in test mode
// if production mode active
log.Debug().Bool("Production Mode", d.conf.ProductionMode).Msgf("Message: %v", e)
continue
}
exers = append(exers, estruct)
Expand Down

0 comments on commit 1e444a0

Please sign in to comment.