Skip to content

Commit

Permalink
Update lib/grpc/server/adapters/cowboy/handler.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Adriano Santos <solid.sistemas@gmail.com>
  • Loading branch information
beligante and sleipnir authored Jul 11, 2024
1 parent 2f78a25 commit a43d248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grpc/server/adapters/cowboy/handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ defmodule GRPC.Server.Adapters.Cowboy.Handler do
req = send_error(req, rpc_error, state, :error)

[req: req]
|> AdapterException.new(reason, stack, kind)
|> ReportException.new(reason, stack, kind)
|> log_error(stack)

{:stop, req, state}
Expand Down

0 comments on commit a43d248

Please sign in to comment.