From 6ec1ce54f4b7bd49712dc68e7f9a7262e2802173 Mon Sep 17 00:00:00 2001 From: postmannen Date: Wed, 3 Feb 2021 12:59:08 +0100 Subject: [PATCH] fixed more descriptive error messages --- publisher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publisher.go b/publisher.go index 255f321..67091d5 100644 --- a/publisher.go +++ b/publisher.go @@ -228,7 +228,7 @@ func (s *server) processSpawn(proc process) { // NB: simulate that we get an error, and that we can send that // out of the process and receive it in another thread. - s.processes[proc.subject.name()].errorCh <- "received an error from process: " + fmt.Sprintf("%v\n", proc.processID) + s.processes[proc.subject.name()].errorCh <- "received an error from process: " + fmt.Sprintf("ID=%v, subjectName=%v\n", proc.processID, proc.subject.name()) //fmt.Printf("%#v\n", s.processes[proc.node]) }