Allow routers more control over link management (#318)

* Allow routers more control over link management
This commit is contained in:
Paul Lorenz
2022-03-07 12:22:17 -05:00
committed by GitHub
parent b8e2fb4369
commit 2b7db10913
60 changed files with 2572 additions and 680 deletions
+3 -2
View File
@@ -20,6 +20,7 @@ func SendResult(request *channel.Message, ch channel.Channel, message string, su
response := channel.NewResult(success, message)
response.ReplyTo(request)
_ = ch.Send(response)
log.Debug("success")
if err := ch.Send(response); err != nil {
log.WithError(err).Error("failed to send result")
}
}