Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no notification when notify_release_stages set in Sinatra app #108

Closed
ghost opened this issue Jun 2, 2014 · 3 comments
Closed

no notification when notify_release_stages set in Sinatra app #108

ghost opened this issue Jun 2, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 2, 2014

With my Sinatra app running in a staging environment, I am generating a bugsnag notification using Bugsnag.notify. When notify_release_stages is set to ["staging"], the error does not show up in the project's dashboard, even though I've confirmed that release_stage is indeed set to "staging". If I comment out notify_release_stages in my bugsnag config file, the error successfully appears in the dashboard.

@ghost
Copy link
Author

ghost commented Jun 2, 2014

I may have figured out the problem here. I've been setting config.release_stage to settings.environment which is how Sinatra tracks its environment, but lo and behold settings.environment is a symbol rather than a string. I'm going to test if this is causing the issue.

@snmaynard
Copy link
Contributor

Awesome, let me know if this is the case and I will stop looking! Thanks!

@ghost
Copy link
Author

ghost commented Jun 2, 2014

Yep, looks like that's what was happening. My bad, thanks for looking into it.

@ghost ghost closed this as completed Jun 2, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant