MCPcopy Create free account
hub / github.com/actiontech/dtle / onError

Method onError

driver/handle.go:102–109  ·  view source on GitHub ↗

used when h.runner has not been setup

(err error)

Source from the content-addressed store, hash-verified

100
101// used when h.runner has not been setup
102func (h *taskHandle) onError(err error) {
103 common.WriteWaitCh(h.waitCh, &drivers.ExitResult{
104 ExitCode: common.TaskStateDead,
105 Signal: 0,
106 OOMKilled: false,
107 Err: err,
108 })
109}
110
111func (h *taskHandle) IsRunning() bool {
112 h.stateLock.RLock()

Callers 2

runMethod · 0.95
SignalTaskMethod · 0.45

Calls 1

WriteWaitChFunction · 0.92

Tested by

no test coverage detected