summaryrefslogtreecommitdiff
path: root/sync_worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'sync_worker.go')
-rwxr-xr-xsync_worker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync_worker.go b/sync_worker.go
index 56953fe6..a9c53553 100755
--- a/sync_worker.go
+++ b/sync_worker.go
@@ -133,7 +133,7 @@ func (tw *syncWorker) ExecWithContext(ctx context.Context, p Payload) (Payload,
}
func (tw *syncWorker) execPayload(p Payload) (Payload, error) {
- const op = errors.Op("exec_payload")
+ const op = errors.Op("exec payload")
// two things; todo: merge
if err := sendControl(tw.w.Relay(), p.Context); err != nil {
return EmptyPayload, errors.E(op, err, "header error")
@@ -156,7 +156,7 @@ func (tw *syncWorker) execPayload(p Payload) (Payload, error) {
}
if pr.HasFlag(goridge.PayloadError) {
- return EmptyPayload, errors.E(op, errors.Exec, errors.Str(string(rsp.Context))) //ExecError(rsp.Context)
+ return EmptyPayload, errors.E(op, errors.Exec, errors.Str(string(rsp.Context)))
}
// add streaming support :)