getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 147 forks source link

Allow Packet.Release and Packet.Environment to be set manually #166

Closed jonstaryuk closed 6 years ago

jonstaryuk commented 6 years ago

This adds a simple check to only overwrite the Packet's fields with Client settings when the fields are blank. It enables use cases where one Client is used to report errors from multiple applications, such as in logging and monitoring agents.

mattrobenolt commented 6 years ago

Looks great, thanks! 🍕