Skip to content
Snippets Groups Projects
Commit ab7738dd authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add stringer interface to e2e params and print debug message with parameters...

Add stringer interface to e2e params and print debug message with parameters to log inside of bindings
parent 8897b74d
No related branches found
No related tags found
2 merge requests!510Release,!353Figure out why bindings is not passing parameters correctly
......@@ -10,6 +10,7 @@ package bindings
import (
"encoding/json"
"fmt"
"github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/client/catalog"
......@@ -128,6 +129,9 @@ func (e *E2e) SendE2E(messageType int, recipientId, payload,
if err != nil {
return nil, err
}
jww.DEBUG.Printf("SendE2E Parameters Received: %s, Parsed: %s",
e2eParams, params.String())
recipient, err := id.Unmarshal(recipientId)
if err != nil {
return nil, err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment