Class: Fluent::Plugin::Opentelemetry::GrpcInputHandler::ExceptionInterceptor
- Inherits:
-
GRPC::ServerInterceptor
- Object
- GRPC::ServerInterceptor
- Fluent::Plugin::Opentelemetry::GrpcInputHandler::ExceptionInterceptor
- Defined in:
- lib/fluent/plugin/opentelemetry/grpc_input_handler.rb
Instance Method Summary collapse
Instance Method Details
#request_response(request:, call:, method:) ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/fluent/plugin/opentelemetry/grpc_input_handler.rb', line 43 def request_response(request:, call:, method:) # call actual service yield rescue StandardError => e puts "[#{method}] Error: #{e.}" raise end |