diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-03-21 12:55:37 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-03-21 12:55:37 +0200 |
commit | 0b4e75026a36a48adaff9f6973be3ab882548599 (patch) | |
tree | 18d3ab32dfd303b6256c0571cfd9d893db858531 /src/blockchain_utilities/fake_core.h | |
parent | Merge pull request #738 (diff) | |
parent | Revert "Print stack trace upon exceptions" (diff) | |
download | monero-0b4e75026a36a48adaff9f6973be3ab882548599.tar.xz |
Merge pull request #740
f7301c3 Revert "Print stack trace upon exceptions" (moneromooo-monero)
Diffstat (limited to 'src/blockchain_utilities/fake_core.h')
-rw-r--r-- | src/blockchain_utilities/fake_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_utilities/fake_core.h b/src/blockchain_utilities/fake_core.h index 3840a1c13..2fb5031d3 100644 --- a/src/blockchain_utilities/fake_core.h +++ b/src/blockchain_utilities/fake_core.h @@ -78,7 +78,7 @@ struct fake_core_db else { LOG_ERROR("Attempted to use non-existent database type: " << db_type); - throw tools::runtime_error("Attempting to use non-existent database type"); + throw std::runtime_error("Attempting to use non-existent database type"); } boost::filesystem::path folder(path); @@ -176,7 +176,7 @@ struct fake_core_memory { // TODO: // would need to refactor handle_block_to_main_chain() to have a direct add_block() method like Blockchain class - throw tools::runtime_error("direct add_block() method not implemented for in-memory db"); + throw std::runtime_error("direct add_block() method not implemented for in-memory db"); return 2; } |