{"action":"created","issue":{"url":"https://api.github.com/repos/ngokevin/redux-raven-middleware/issues/32","repository_url":"https://api.github.com/repos/ngokevin/redux-raven-middleware","labels_url":"https://api.github.com/repos/ngokevin/redux-raven-middleware/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ngokevin/redux-raven-middleware/issues/32/comments","events_url":"https://api.github.com/repos/ngokevin/redux-raven-middleware/issues/32/events","html_url":"https://github.com/ngokevin/redux-raven-middleware/issues/32","id":231437844,"number":32,"title":"Configuration to add environment to Sentry errors","user":{"login":"cdimitroulas","id":20640274,"avatar_url":"https://avatars2.githubusercontent.com/u/20640274?v=3","gravatar_id":"","url":"https://api.github.com/users/cdimitroulas","html_url":"https://github.com/cdimitroulas","followers_url":"https://api.github.com/users/cdimitroulas/followers","following_url":"https://api.github.com/users/cdimitroulas/following{/other_user}","gists_url":"https://api.github.com/users/cdimitroulas/gists{/gist_id}","starred_url":"https://api.github.com/users/cdimitroulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdimitroulas/subscriptions","organizations_url":"https://api.github.com/users/cdimitroulas/orgs","repos_url":"https://api.github.com/users/cdimitroulas/repos","events_url":"https://api.github.com/users/cdimitroulas/events{/privacy}","received_events_url":"https://api.github.com/users/cdimitroulas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-25T19:39:30Z","updated_at":"2017-05-30T14:51:48Z","closed_at":null,"body":"How do I go about adding the environment (development/production) to the Sentry error with this library?\r\n\r\nI tried doing this but it doesn't seem to work:\r\n```\r\nRavenMiddleware(process.env.SENTRY_URL, {\r\n  environment: process.env.NODE_ENV\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/ngokevin/redux-raven-middleware/issues/comments/304903520","html_url":"https://github.com/ngokevin/redux-raven-middleware/issues/32#issuecomment-304903520","issue_url":"https://api.github.com/repos/ngokevin/redux-raven-middleware/issues/32","id":304903520,"user":{"login":"captbaritone","id":162735,"avatar_url":"https://avatars1.githubusercontent.com/u/162735?v=3","gravatar_id":"","url":"https://api.github.com/users/captbaritone","html_url":"https://github.com/captbaritone","followers_url":"https://api.github.com/users/captbaritone/followers","following_url":"https://api.github.com/users/captbaritone/following{/other_user}","gists_url":"https://api.github.com/users/captbaritone/gists{/gist_id}","starred_url":"https://api.github.com/users/captbaritone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captbaritone/subscriptions","organizations_url":"https://api.github.com/users/captbaritone/orgs","repos_url":"https://api.github.com/users/captbaritone/repos","events_url":"https://api.github.com/users/captbaritone/events{/privacy}","received_events_url":"https://api.github.com/users/captbaritone/received_events","type":"User","site_admin":false},"created_at":"2017-05-30T14:51:48Z","updated_at":"2017-05-30T14:51:48Z","body":"Is it possible that `Raven` is already setup in your environment? It should be pretty simple to set a break point (`debugger`) before you call `RavenMiddleware` and then step though the function. The real question would be, what is `cfg` at this line: https://github.com/ngokevin/redux-raven-middleware/blob/master/index.js#L43 (or does that line even get called)?"}}
{"actor":{"display_login":"captbaritone"}}