-
-
Notifications
You must be signed in to change notification settings - Fork 207
Closed
Description
Environment
What version are you running? Etc.
- OTP 26.2.3
- Elixir 1.16.2
- sentry-elixir 10.2.1
Steps to Reproduce
- Configure sentry (set DSN and
environment_nametostaging) - Sending a test event via
mix sentry.send_test_event
Expected Result
Display current environment_name (staging) in the output of the mix command.
Actual Result
root:/opt/app# mix sentry.send_test_event
Client configuration:
server: <url>
public_key: <public_key>
secret_key:
current environment_name: ""
hackney_opts: [pool: :sentry_pool]
Although the current environment is set to staging the output shows "". In the iex I get the correct value for environment_name:
iex(5)> Sentry.Config.environment_name()
"staging"
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
No status