Class: Fluent::Plugin::OpentelemetryInput::GrpcHandler::ExceptionInterceptor
- Inherits:
-
GRPC::ServerInterceptor
- Object
- GRPC::ServerInterceptor
- Fluent::Plugin::OpentelemetryInput::GrpcHandler::ExceptionInterceptor
- Defined in:
- lib/fluent/plugin/in_opentelemetry.rb
Instance Method Summary collapse
Instance Method Details
#request_response(request:, call:, method:) ⇒ Object
168 169 170 171 172 173 174 |
# File 'lib/fluent/plugin/in_opentelemetry.rb', line 168 def request_response(request:, call:, method:) # call actual service yield rescue StandardError => e puts "[#{method}] Error: #{e.}" raise end |