Skip to content

Commit

Permalink
use Error instead of Fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchiqing committed Sep 12, 2024
1 parent 6b74c0b commit 24d820d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/util/cmd/execution-state-extract/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

}
Expand Down

0 comments on commit 24d820d

Please sign in to comment.