Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#98 from tbs60/dev_tming
Browse files Browse the repository at this point in the history
bk-shader-tool的异常状态处理完善,issue: TencentBlueKing#97
  • Loading branch information
tming authored Jul 27, 2023
2 parents a222975 + b9494d6 commit 10e9080
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/backend/booster/bk_dist/shadertool/pkg/shadertool.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,10 @@ func (h *ShaderTool) executeShaders(ctx context.Context) error {
// blog.Debugf("ShaderTool: main loop tick")
err := h.tryExecuteActions(ctx)
if err != nil && err != ErrorNoActionsToRun {
blog.Errorf("ShaderTool: failed to execute shader actions with error:%v", err)
return err
blog.Errorf("ShaderTool: failed to execute shader actions with error:%v,exit now", err)
h.ReleaseResource()
h.commitSuicide()
// return err
}
}
}
Expand Down

0 comments on commit 10e9080

Please sign in to comment.