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

Fix app not recovering from failed Gaia initialization #483

Merged
merged 5 commits into from
Feb 16, 2018

Conversation

faboweb
Copy link
Collaborator

@faboweb faboweb commented Feb 16, 2018

Thank you a lot for contributing to Cosmos Voyager!

Issue

#334

❤️ Thank you!

@codecov
Copy link

codecov bot commented Feb 16, 2018

Codecov Report

Merging #483 into develop will increase coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #483      +/-   ##
===========================================
+ Coverage    78.98%   79.01%   +0.03%     
===========================================
  Files           82       82              
  Lines         1318     1320       +2     
  Branches        68       68              
===========================================
+ Hits          1041     1043       +2     
  Misses         259      259              
  Partials        18       18
Impacted Files Coverage Δ
app/src/main/index.js 74.69% <100%> (+0.62%) ⬆️

@@ -328,6 +328,28 @@ function consistentConfigDir (appVersionPath, genesisPath, configPath, gaiaVersi
exists(gaiaVersionPath)
}

// check if baseserver is initialized as the configs could be corrupted
// we need to parse the error on initialization as there is no way to just get this status programmatically
Copy link
Collaborator

@jbibla jbibla Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we ask gaia to return the status programatically (in the future)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in theory this would be possible. but I think it doesn't have too high priority. Should I create an issue?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, create an issue. just worries me a bit to depend on parsing the error.

@jbibla jbibla merged commit 6f9f6d6 into develop Feb 16, 2018
@jbibla jbibla deleted the fabo/334-gaia-init-bug branch February 16, 2018 15:06
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