Rescue GRPC::Core::CallError not to kill the worker threads

pull/16477/head
ganmacs 7 years ago
parent 35501ad1df
commit 005cb34614
  1. 2
      src/ruby/lib/grpc/generic/rpc_server.rb

@ -136,7 +136,7 @@ module GRPC
begin
blk, args = worker_queue.pop
blk.call(*args)
rescue StandardError => e
rescue StandardError, GRPC::Core::CallError => e
GRPC.logger.warn('Error in worker thread')
GRPC.logger.warn(e)
end

Loading…
Cancel
Save