public async Task <TResponse> UnaryServerHandler(TRequest request, UnaryServerMethod <TRequest, TResponse> continuation) { try { _tracer.Request(request, _context); var response = await continuation(request, _context).ConfigureAwait(false); _tracer.Response(response, _context); _tracer.Finish(_context); return(response); } catch (Exception ex) { _tracer.Exception(_context, ex, request); throw; } }