Skip to content

Commit

Permalink
chore: return server.Send(msg)
Browse files Browse the repository at this point in the history
  • Loading branch information
agparadiso committed Feb 19, 2025
1 parent 1987a00 commit 10352b5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/loop/internal/core/services/capability/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,7 @@ func (t *triggerExecutableServer) RegisterTrigger(request *capabilitiespb.Trigge
},
},
}
if err = server.Send(msg); err != nil {
return fmt.Errorf("failed sending error response for trigger registration %s: %w", request, err)
}
return nil
return server.Send(msg)
}

// Send ACK response to client
Expand Down

0 comments on commit 10352b5

Please sign in to comment.