mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Better error msg on bad fingerprint
This commit is contained in:
parent
f701641382
commit
ec9476e5ab
2 changed files with 5 additions and 2 deletions
|
@ -185,7 +185,10 @@ func (i *IPC) ClientOffers(arg messages.Arg, response *[]byte) error {
|
|||
}
|
||||
|
||||
if _, err := i.ctx.GetBridgeInfo(BridgeFingerprint); err != nil {
|
||||
return err
|
||||
return sendClientResponse(
|
||||
&messages.ClientPollResponse{Error: err.Error()},
|
||||
response,
|
||||
)
|
||||
}
|
||||
|
||||
offer.fingerprint = BridgeFingerprint.ToBytes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue