Skip to content

Commit

Permalink
handle environment using config not context
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyyTaylor committed Mar 15, 2021
1 parent b08f44f commit 172a60d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ func (c *core) unpackContext(clone *core, event *sentry.Event, hub *sentry.Hub)
if orgID, ok := context["orgId"]; ok {
event.Tags["org_id"] = orgID.(string)
}

if stage, ok := context["stage"]; ok {
event.Environment = stage.(string)
}

// don't want these 2 in additional info > context > X in Sentry
if requestInt, ok := context["request"]; ok {
Expand Down

0 comments on commit 172a60d

Please sign in to comment.