Skip to content

Commit

Permalink
Merge pull request #8412 from manuelbuil/logrus126
Browse files Browse the repository at this point in the history
[Release-1.26] Fix error reporting
  • Loading branch information
manuelbuil committed Sep 25, 2023
2 parents 4e21728 + 23c9208 commit 2e3fd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/containerd/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func Run(ctx context.Context, cfg *config.Node) error {

addDeathSig(cmd)
if err := cmd.Run(); err != nil {
fmt.Fprintf(os.Stderr, "containerd: %s\n", err)
logrus.Errorf("containerd exited: %s", err)
}
os.Exit(1)
}()
Expand Down

0 comments on commit 2e3fd7a

Please sign in to comment.