Open
Description
Description
15s
Run mix test
Wrote 75 files in 397.64 kb to: _build/test/lib/sentry/priv/sentry.map
Running ExUnit with seed: 86342[1](https://github.com/getsentry/sentry-elixir/actions/runs/15728364729/job/44323405967#step:9:1), max_cases: [8](https://github.com/getsentry/sentry-elixir/actions/runs/15728364729/job/44323405967#step:9:9)
......................................................................................................................................................................................................................................................................................
1) test with Plug TODO (Sentry.LoggerHandlerTest)
Error: test/sentry/logger_handler_test.exs:[9](https://github.com/getsentry/sentry-elixir/actions/runs/15728364729/job/44323405967#step:9:10)1
Assertion with == failed
code: assert event.original_exception == %RuntimeError{message: "Error"}
left: nil
right: %RuntimeError{message: "Error"}
stacktrace:
test/sentry/logger_handler_test.exs:95: (test)
The following output was logged:
Error: 08:54:09.314 [error] #PID<0.22912.0> running Sentry.ExamplePlugApplication (connection #PID<0.22911.0>, stream id 1) terminated
Server: 127.0.0.1:8003 (http)
Request: GET /error_route
** (exit) an exception was raised:
** (RuntimeError) Error
(sentry 11.0.0) test/support/example_plug_application.ex:46: anonymous fn/2 in Sentry.ExamplePlugApplication.do_match/4
(sentry 11.0.0) deps/plug/lib/plug/router.ex:246: anonymous fn/4 in Sentry.ExamplePlugApplication.dispatch/2
(telemetry 1.3.0) /home/runner/work/sentry-elixir/sentry-elixir/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
(sentry 11.0.0) deps/plug/lib/plug/router.ex:242: Sentry.ExamplePlugApplication.dispatch/2
(sentry 11.0.0) test/support/example_plug_application.ex:1: Sentry.ExamplePlugApplication.plug_builder_call/2
(sentry 11.0.0) test/support/example_plug_application.ex:1: Sentry.ExamplePlugApplication."call (overridable 3)"/2
(sentry 11.0.0) deps/plug/lib/plug/error_handler.ex:80: Sentry.ExamplePlugApplication.call/2
(plug_cowboy 2.7.2) lib/plug/cowboy/handler.ex:11: Plug.Cowboy.Handler.init/2
(cowboy 2.12.0) /home/runner/work/sentry-elixir/sentry-elixir/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
(cowboy 2.12.0) /home/runner/work/sentry-elixir/sentry-elixir/deps/cowboy/src/cowboy_stream_h.erl:306: :cowboy_stream_h.execute/3
(cowboy 2.12.0) /home/runner/work/sentry-elixir/sentry-elixir/deps/cowboy/src/cowboy_stream_h.erl:295: :cowboy_stream_h.request_process/3
(stdlib 6.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
.........................................................................................................................................
Finished in 13.3 seconds (2.8s async, [10](https://github.com/getsentry/sentry-elixir/actions/runs/15728364729/job/44323405967#step:9:11).4s sync)
14 doctests, 402 tests, 1 failure
Error: Process completed with exit code 2.