Skip to content

Commit

Permalink
fix: Fix Error logging to properly include error message
Browse files Browse the repository at this point in the history
fixes edgexfoundry#3784

Signed-off-by: Leonard Goodell <[email protected]>
  • Loading branch information
Leonard Goodell committed Oct 27, 2021
1 parent d325f45 commit 75c4221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/security/secretstore/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (b *Bootstrap) BootstrapHandler(ctx context.Context, _ *sync.WaitGroup, _ s

err = ConfigureSecureMessageBus(configuration.SecureMessageBus, redis5Pair, lc)
if err != nil {
lc.Error("failed to configure for Secure Message Bus: %w", err)
lc.Errorf("failed to configure for Secure Message Bus: %s", err.Error())
os.Exit(1)
}

Expand Down

0 comments on commit 75c4221

Please sign in to comment.