Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
chore: use logger instead of println
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed May 1, 2023
1 parent 9531b71 commit e75850a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/qgb/query/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func writeConfirmsToJSONFile(logger tmlog.Logger, confirmsMap map[string]string,
defer func(file *os.File) {
err := file.Close()
if err != nil {
fmt.Println(err)
logger.Error("failed to close file", "err", err.Error())
}
}(file)

Expand Down

0 comments on commit e75850a

Please sign in to comment.