Skip to content

Commit

Permalink
feature: add error log print
Browse files Browse the repository at this point in the history
  • Loading branch information
positivelong committed May 18, 2023
1 parent 1fceecb commit 6e82b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/input/redis/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func NewInput(cfg *common.Config, outletFactory channel.Connector, context input
if config.PasswordFile != "" {
info, err := os.ReadFile(config.PasswordFile)
if err != nil {
logp.Err("Read Password File Error")
logp.Err("Read Password File Error: %s", err)
} else {
content = string(info)
}
Expand Down

0 comments on commit 6e82b6c

Please sign in to comment.