diff options
Diffstat (limited to 'pkg/events/worker_events.go')
-rw-r--r-- | pkg/events/worker_events.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/events/worker_events.go b/pkg/events/worker_events.go index 9d428f7d..11bd6ab7 100644 --- a/pkg/events/worker_events.go +++ b/pkg/events/worker_events.go @@ -3,9 +3,10 @@ package events const ( // EventWorkerError triggered after WorkerProcess. Except payload to be error. EventWorkerError W = iota + 11000 - // EventWorkerLog triggered on every write to WorkerProcess StdErr pipe (batched). Except payload to be []byte string. EventWorkerLog + // EventWorkerStderr is the worker standard error output + EventWorkerStderr ) type W int64 @@ -16,6 +17,8 @@ func (ev W) String() string { return "EventWorkerError" case EventWorkerLog: return "EventWorkerLog" + case EventWorkerStderr: + return "EventWorkerStderr" } return "Unknown event type" } |