updating logging
This commit is contained in:
parent
219d8e8c81
commit
4455b3467c
|
@ -52,7 +52,7 @@ func (a *Account) Receive() {
|
|||
panic("channel closed")
|
||||
}
|
||||
|
||||
log.Info("pushing message")
|
||||
log.Infoln("pushing message")
|
||||
a.Push(m)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ func (svc *Service) QueueMessage(ctx context.Context, msg *pb.Message) (*pb.Resp
|
|||
|
||||
qmsg := core.NewMessage(msg)
|
||||
if qmsg == nil {
|
||||
log.Err("server: invalid message received, dropping")
|
||||
log.Errln("server: invalid message received, dropping")
|
||||
return &pb.Response{
|
||||
Timestamp: time.Now().Unix(),
|
||||
Id: uuid.NewString(),
|
||||
|
|
Loading…
Reference in New Issue