Skip to content

Conversation

selfcontained
Copy link
Contributor

When config values are null or undefined (which I realize will cause connection issues), the ENV property check throws an error. Adding a truthy check for the property to harden it slightly and avoid an error from being thrown from somewhere that might not be obvious for users.

wzrdtales added a commit that referenced this pull request Feb 1, 2015
[Convenience] Check if property is set before assuring environment is not null
@wzrdtales wzrdtales merged commit ed29196 into db-migrate:master Feb 1, 2015
@selfcontained selfcontained deleted the config-null-check branch February 2, 2015 02:56
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.

2 participants