mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-15 17:51:15 +00:00
fixed more descriptive error messages
This commit is contained in:
parent
0aa74de868
commit
6ec1ce54f4
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ func (s *server) processSpawn(proc process) {
|
||||||
|
|
||||||
// NB: simulate that we get an error, and that we can send that
|
// NB: simulate that we get an error, and that we can send that
|
||||||
// out of the process and receive it in another thread.
|
// 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])
|
//fmt.Printf("%#v\n", s.processes[proc.node])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue