Skip to content
Snippets Groups Projects
Commit 8a6a4754 authored by Jonah Husson's avatar Jonah Husson
Browse files

improve register log

parent 4a05f1e9
No related branches found
No related tags found
1 merge request!23Release
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
package api package api
import ( import (
"fmt"
"github.com/pkg/errors" "github.com/pkg/errors"
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/comms/mixmessages" "gitlab.com/elixxir/comms/mixmessages"
...@@ -35,7 +34,7 @@ func (c *Client) RegisterForNotifications(token string) error { ...@@ -35,7 +34,7 @@ func (c *Client) RegisterForNotifications(token string) error {
if err != nil { if err != nil {
return err return err
} }
fmt.Println("Sending message") jww.INFO.Printf("Sending RegisterForNotifications message")
// Send the register message // Send the register message
_, err = c.comms.RegisterForNotifications(notificationBotHost, _, err = c.comms.RegisterForNotifications(notificationBotHost,
&mixmessages.NotificationRegisterRequest{ &mixmessages.NotificationRegisterRequest{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment