-
Notifications
You must be signed in to change notification settings - Fork 98
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
Conversation
Codecov Report
@@ 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
|
@@ -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 |
There was a problem hiding this comment.
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)?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Issue
#334
❤️ Thank you!