Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

[hotfix] SeedDB missing in env config #1025

Merged
merged 1 commit into from
Oct 29, 2015

Conversation

mleanos
Copy link
Member

@mleanos mleanos commented Oct 28, 2015

Adds a check for the existence of the seedDB config setting, before
attempting to read config.seedDB.seed setting.

Solves the problem when the seedDB config setting is missing from a
environment config, that causes the application to throw an exception at
startup.

As pointed out by @ryanjbaxter, due to the seedDB setting missing from the Cloud-Foundry env config.

Adds a check for the existence of the seedDB config setting, before
attempting to read config.seedDB.seed setting.

Solves the problem when the seedDB config setting is missing from a
environment config, that causes the application to throw an exception at
startup.

Also, adds the seedDB setting to the Cloud-Foundry env config.
@mleanos mleanos force-pushed the seeddb-missing-config branch from d04b284 to 28f1f57 Compare October 28, 2015 21:22
@lirantal lirantal self-assigned this Oct 29, 2015
@lirantal lirantal added this to the 0.5.0 milestone Oct 29, 2015
@ryanjbaxter
Copy link
Contributor

@mleanos I just tested your branch and it worked for me so this should be good to commit

@lirantal
Copy link
Member

LGTM

@lirantal lirantal modified the milestones: 0.4.2, 0.5.0 Oct 29, 2015
@lirantal
Copy link
Member

Changing to 0.4.2 so we can merge this defect in quickly.

@codydaig
Copy link
Member

LGTM

1 similar comment
@ilanbiala
Copy link
Member

LGTM

lirantal added a commit that referenced this pull request Oct 29, 2015
[hotfix] SeedDB missing in env config
@lirantal lirantal merged commit 860f7ce into meanjs:master Oct 29, 2015
@mleanos mleanos deleted the seeddb-missing-config branch October 30, 2015 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants