Skip to content
Snippets Groups Projects
Commit 72ce43a4 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

added tags to the cmd layer

parent 6780f457
No related branches found
No related tags found
2 merge requests!170Release,!132added tags to sends so we can see what send a message
...@@ -328,10 +328,12 @@ var rootCmd = &cobra.Command{ ...@@ -328,10 +328,12 @@ var rootCmd = &cobra.Command{
var roundIDs []id.Round var roundIDs []id.Round
var roundTimeout time.Duration var roundTimeout time.Duration
if unsafe { if unsafe {
paramsE2E.DebugTag = "cmd.Unsafe"
roundIDs, err = client.SendUnsafe(msg, roundIDs, err = client.SendUnsafe(msg,
paramsUnsafe) paramsUnsafe)
roundTimeout = paramsUnsafe.Timeout roundTimeout = paramsUnsafe.Timeout
} else { } else {
paramsE2E.DebugTag = "cmd.E2E"
roundIDs, _, _, err = client.SendE2E(msg, roundIDs, _, _, err = client.SendE2E(msg,
paramsE2E) paramsE2E)
roundTimeout = paramsE2E.Timeout roundTimeout = paramsE2E.Timeout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment