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 a43d248 commit 4ecf56b
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 @@ -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}
Expand Down

0 comments on commit 4ecf56b

Please sign in to comment.