]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/client.go
Log client handler errors (#108)
[rbdr/mobius] / hotline / client.go
index e812d1dfa36a8ad013a375bd7673e0091170989f..3353095d2688cab8121748d6da258d965661bb98 100644 (file)
@@ -625,7 +625,10 @@ func (c *Client) HandleTransaction(ctx context.Context, t *Transaction) error {
                        "IsReply", t.IsReply,
                        "type", binary.BigEndian.Uint16(t.Type),
                )
-               outT, _ := handler(ctx, c, t)
+               outT, err := handler(ctx, c, t)
+               if err != nil {
+                       c.Logger.Error("error handling transaction", "err", err)
+               }
                for _, t := range outT {
                        if err := c.Send(t); err != nil {
                                return err