aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
Diffstat (limited to 'hotline')
-rw-r--r--hotline/client.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/hotline/client.go b/hotline/client.go
index e812d1d..3353095 100644
--- a/hotline/client.go
+++ b/hotline/client.go
@@ -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