mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-31 01:24:31 +00:00
debugging
This commit is contained in:
parent
e2c17db5bf
commit
cbba482371
1 changed files with 2 additions and 0 deletions
|
@ -417,6 +417,7 @@ func (p process) messageSubscriberHandler(natsConn *nats.Conn, thisNode string,
|
|||
if err != nil {
|
||||
er := fmt.Errorf("error: gob decoding failed: %v", err)
|
||||
log.Printf("%v\n", er)
|
||||
fmt.Printf(" * DEBUG1: message: %#v\n", message)
|
||||
p.processes.errorKernel.errSend(p, message, er)
|
||||
return
|
||||
}
|
||||
|
@ -431,6 +432,7 @@ func (p process) messageSubscriberHandler(natsConn *nats.Conn, thisNode string,
|
|||
if err != nil {
|
||||
er := fmt.Errorf("error: gob decoding failed: %v", err)
|
||||
log.Printf("%v\n", er)
|
||||
fmt.Printf(" * DEBUG2: message: %#v\n", message)
|
||||
p.processes.errorKernel.errSend(p, message, er)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue