mirror of
https://github.com/status-im/infra-utils.git
synced 2025-02-21 16:38:19 +00:00
add extra print for EpollWait for debugging
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
28aea97698
commit
68a3244b6b
@ -77,6 +77,7 @@ func Ping(address string, timeout time.Duration) error {
|
||||
var nEvents int
|
||||
nEvents, err = unix.EpollWait(epfd, epollEvents[:], int(timeout.Milliseconds()))
|
||||
|
||||
log.Println("EpollWait err:", err)
|
||||
if err != nil {
|
||||
return os.NewSyscallError("epoll_wait", err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user