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

Accept delayed config (System runtime) #17

Merged
merged 1 commit into from Sep 15, 2016
Merged

Accept delayed config (System runtime) #17

merged 1 commit into from Sep 15, 2016

Conversation

rodrigues
Copy link
Contributor

With Mix configs being evaluated at build time, only an Application.put_env at boot can set project id and key on the context of the production machine.

This PR allows the config to be passed as config :airbrakex, project_id: {:system, "AIRBRAKE_PROJECT_ID"}, indicating it will be evaluated at runtime, using system environment variables.

@fazibear fazibear merged commit d605069 into fazibear:master Sep 15, 2016
@fazibear
Copy link
Owner

Great feature. Thanks!

@rodrigues
Copy link
Contributor Author

@fazibear glad you liked!

0.0.10 bump coming soon to hex? 😊

Thanks!

@fazibear
Copy link
Owner

Released! Also documentation added ;)

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

Successfully merging this pull request may close these issues.

None yet

2 participants