From 24d820dc8b69a6ae965428c20d394afc3c7cd536 Mon Sep 17 00:00:00 2001 From: "Leo Zhang (zhangchiqing)" Date: Thu, 12 Sep 2024 08:27:02 -0700 Subject: [PATCH] use Error instead of Fatal --- cmd/util/cmd/execution-state-extract/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/util/cmd/execution-state-extract/cmd.go b/cmd/util/cmd/execution-state-extract/cmd.go index 52ef72bb097..207ddd37846 100644 --- a/cmd/util/cmd/execution-state-extract/cmd.go +++ b/cmd/util/cmd/execution-state-extract/cmd.go @@ -345,7 +345,7 @@ func run(*cobra.Command, []string) { err := ensureCheckpointFileExist(flagExecutionStateDir) if err != nil { - log.Fatal().Err(err).Msgf("cannot ensure checkpoint file exist in folder %v", flagExecutionStateDir) + log.Error().Err(err).Msgf("cannot ensure checkpoint file exist in folder %v", flagExecutionStateDir) } }