mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-12 22:40:32 +08:00
TUN-3107: UnregisterConnection shouldn't wrap nil error as RPC error
This commit is contained in:
@@ -229,5 +229,8 @@ func (c TunnelServer_PogsClient) Unregister(ctx context.Context) error {
|
||||
return nil
|
||||
})
|
||||
_, err := promise.Struct()
|
||||
return wrapRPCError(err)
|
||||
if err != nil {
|
||||
return wrapRPCError(err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user