1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-17 14:57:44 -05:00

Fix test break for windows: better error handling

This commit is contained in:
Shelikhoo 2019-06-06 22:14:50 +08:00
parent 7718b9629c
commit a32d6416e5
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -33,5 +33,9 @@ func checkReadVConstraint(conn syscall.RawConn) (bool, error) {
reason = err
})
return isSocketReady, err
if err != nil {
return false, err
}
return isSocketReady, reason
}