forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bubble up genesis load errors instead of exiting (solana-labs#34851)
The function open_genesis_config() performs several operations that could fail. If any of these fail, the process exits immediately. Instead of exiting immediately, bubble up the error and let the caller decide the appropriate action. solana-validator and solana-ledger-tool will functionally be unchanged, but this consolidates startup failures for both of these processes.
- Loading branch information
steviez
authored
Jan 19, 2024
1 parent
32a3de0
commit 3dd3488
Showing
4 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters