Sentry not capturing crashes inside Task.start function

I confirm I’m getting sentry via Task.start in this case:

  1. Create new project
  2. Add sentry dep
  3. Add sentry logger backend (no other configuration)
config :logger,
  backends: [:console, Sentry.LoggerBackend]

config :sentry, dsn: "http://a:b@127.0.0.1:8000/1"
  1. Add following to a controller function
    Task.start(fn ->
      MyModule.function()
    end)

With or without phoenix integration, it sends a request - but it does not print sentry log.

I ran dummy server with python3 -m http.server 8000 --bind 127.0.0.1 to see whether my phoenix app actually sends a request.