In our code we don't know environment until we've read it from the API, but we want to capture sentry events before we know the environment. To this end we'd like to be able to update client.environment after client has already been constructed.
[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[x] Other... Please describe:
Made client.environment writeable.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
In our code we don't know
environment
until we've read it from the API, but we want to capture sentry events before we know the environment. To this end we'd like to be able to updateclient.environment
afterclient
has already been constructed.client.environment
writeable.Does this PR introduce a breaking change?