diff --git a/lib/grpc/server/adapters/cowboy/handler.ex b/lib/grpc/server/adapters/cowboy/handler.ex index f226418c..eb1e3d88 100644 --- a/lib/grpc/server/adapters/cowboy/handler.ex +++ b/lib/grpc/server/adapters/cowboy/handler.ex @@ -660,7 +660,7 @@ defmodule GRPC.Server.Adapters.Cowboy.Handler do {:wait, ref} end - defp log_error(%AdapterException{kind: kind} = exception, stacktrace) do + defp log_error(%ReportException{kind: kind} = exception, stacktrace) do crash_reason = GRPC.Logger.crash_reason(kind, exception, stacktrace) kind