Skip to content

Commit 454ad46

Browse files
Luis Gustavo Beligantesleipnir
andauthored
Update lib/grpc/server/adapters/cowboy/handler.ex
Co-authored-by: Adriano Santos <solid.sistemas@gmail.com>
1 parent 4ecf56b commit 454ad46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grpc/server/adapters/cowboy/handler.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ defmodule GRPC.Server.Adapters.Cowboy.Handler do
660660
{:wait, ref}
661661
end
662662

663-
defp log_error(%AdapterException{kind: kind} = exception, stacktrace) do
663+
defp log_error(%ReportException{kind: kind} = exception, stacktrace) do
664664
crash_reason = GRPC.Logger.crash_reason(kind, exception, stacktrace)
665665

666666
kind

0 commit comments

Comments
 (0)