mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 00:05:37 -04:00
blockchain_utilities: properly exit on error
Replace boolean values and exceptions where appropriate
This commit is contained in:
parent
9292c1e7cd
commit
bc110af0ee
2 changed files with 7 additions and 7 deletions
|
@ -151,7 +151,7 @@ int main(int argc, char* argv[])
|
|||
catch (const std::exception& e)
|
||||
{
|
||||
LOG_PRINT_L0("Error opening database: " << e.what());
|
||||
throw;
|
||||
return 1;
|
||||
}
|
||||
r = core_storage->init(db, opt_testnet);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue