Skip to content

Commit

Permalink
fix: set log level for printing app config to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
karlderkaefer committed Sep 11, 2021
1 parent f5f05ba commit 9586f43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@ var rootCmd = &cobra.Command{
logrus.Warnf("Skipping... because %s", err)
return
}
logrus.Debugf("got app config: %#v", appConfig)
logrus.Tracef("got app config: %#v", appConfig)

transformer := transform.NewLogTransformer(appConfig)
transformer.Process()

gc := github.NewGithubClient(cmd.Context(), appConfig, nil)
gc.Context = cmd.Context()
gc.CommentContent = transformer.LogContent
gc.Authenticate()
err = gc.PostComment()
Expand Down

0 comments on commit 9586f43

Please sign in to comment.