Skip to content

Commit d84a54e

Browse files
committed
fix porential fatal
1 parent ecd4255 commit d84a54e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void connection_event_loop(void (*connection_handler)(cache_connection* connecti
500500
ev.data.fd = client_sock;
501501
res = epoll_ctl(epfd, EPOLL_CTL_ADD, client_sock, &ev);
502502
if (res != 0) {
503-
PFATAL("epoll_ctl() failed.");
503+
PWARN("epoll_ctl() failed to add %s.", client_sock);
504504
}
505505
}
506506
}

0 commit comments

Comments
 (0)