Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: Improve log output for errors during load
When loading the default wallet, display the wallet name in error messages as "[default wallet]", instead of the empty string which gives confusing messages. When an exception occurs during wallet loading, display e.what() if possible, instead of nothing.
- Loading branch information
Showing
2 changed files
with
17 additions
and
10 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