Skip to content

Commit

Permalink
Not exposing credentials in case of error - Fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
pteich committed Nov 3, 2021
1 parent 9fb8f29 commit bac8287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func export(ctx context.Context, conf *Flags) {

client, err := elastic.NewClient(esOpts...)
if err != nil {
log.Fatalf("Error connecting to ElasticSearch %s - %v", conf.ElasticURL, err)
log.Fatalf("Error connecting to ElasticSearch: %s", err)
}
defer client.Stop()

Expand Down

0 comments on commit bac8287

Please sign in to comment.