Tinkoff / micro-sentry

Tiny Sentry client with idiomatic wrapper for Angular
Apache License 2.0
118 stars 8 forks source link

chore: make environment writeable #9

Closed insidewhy closed 2 years ago

insidewhy commented 3 years ago

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 update client.environment after client has already been constructed.

Does this PR introduce a breaking change?