From 4ecf56b3eedbd86240302994158b925f042e21d4 Mon Sep 17 00:00:00 2001 From: Luis Gustavo Beligante Date: Thu, 11 Jul 2024 15:17:15 -0300 Subject: [PATCH] Update lib/grpc/server/adapters/cowboy/handler.ex Co-authored-by: Adriano Santos --- lib/grpc/server/adapters/cowboy/handler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/grpc/server/adapters/cowboy/handler.ex b/lib/grpc/server/adapters/cowboy/handler.ex index eab09e1a..f226418c 100644 --- a/lib/grpc/server/adapters/cowboy/handler.ex +++ b/lib/grpc/server/adapters/cowboy/handler.ex @@ -484,7 +484,7 @@ defmodule GRPC.Server.Adapters.Cowboy.Handler do req = send_error(req, error, state, reason) [req: req] - |> AdapterException.new(reason, stacktrace) + |> ReportException.new(reason, stacktrace) |> log_error(stacktrace) {:stop, req, state}