Broker: add warning log when proxy couldn't mach with client

This commit is contained in:
itchyonion 2023-03-22 21:26:46 -07:00
parent 6c431800b0
commit 88608ad44a
No known key found for this signature in database
GPG key ID: 4B87B720348500EA

View file

@ -266,6 +266,7 @@ func (i *IPC) ProxyAnswers(arg messages.Arg, response *[]byte) error {
// The snowflake took too long to respond with an answer, so its client // The snowflake took too long to respond with an answer, so its client
// disappeared / the snowflake is no longer recognized by the Broker. // disappeared / the snowflake is no longer recognized by the Broker.
success = false success = false
log.Printf("Warning: matching with snowflake client failed")
} }
b, err := messages.EncodeAnswerResponse(success) b, err := messages.EncodeAnswerResponse(success)