aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/ev_poll_posix.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-07-27 11:31:35 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-07-27 11:31:35 -0700
commit7a0e389a732790ebf6b77da0ac6120634c32487a (patch)
treec5e59b2324888f1b7bc4cde3f46b6de011b05dcb /src/core/lib/iomgr/ev_poll_posix.cc
parent35925d5863eb820df2ac4e87a607a810e6bd83ab (diff)
Do not abort. Just fail softly
Diffstat (limited to 'src/core/lib/iomgr/ev_poll_posix.cc')
-rw-r--r--src/core/lib/iomgr/ev_poll_posix.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/ev_poll_posix.cc b/src/core/lib/iomgr/ev_poll_posix.cc
index 7801c02355..2a1fef2933 100644
--- a/src/core/lib/iomgr/ev_poll_posix.cc
+++ b/src/core/lib/iomgr/ev_poll_posix.cc
@@ -570,8 +570,9 @@ static void fd_set_writable(grpc_fd* fd) {
}
static void fd_set_error(grpc_fd* fd) {
- gpr_log(GPR_ERROR, "Polling engine does not support tracking errors.");
- abort();
+ if (grpc_polling_trace.enabled()) {
+ gpr_log(GPR_ERROR, "Polling engine does not support tracking errors.");
+ }
}
static uint32_t fd_begin_poll(grpc_fd* fd, grpc_pollset* pollset,