summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-03-03 18:57:52 +0300
committerValery Piashchynski <[email protected]>2020-03-03 18:57:52 +0300
commitaa0ba5496c101e41a497285b4e0f4e9f2820b5e7 (patch)
treedadbacfbbcd99e2306fa0996393b31106a0542bb /worker.go
parent9fabf648f1c3cb797ec03377c3e2182397fb7a1a (diff)
Fix typos
Update signals handling mechanism http proper stopping
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.go b/worker.go
index 33b9d496..1b788231 100644
--- a/worker.go
+++ b/worker.go
@@ -241,7 +241,7 @@ func (w *Worker) execPayload(rqs *Payload) (rsp *Payload, err error) {
}
if !pr.HasFlag(goridge.PayloadControl) {
- return nil, fmt.Errorf("mailformed worker response")
+ return nil, fmt.Errorf("malformed worker response")
}
if pr.HasFlag(goridge.PayloadError) {