Skip to content
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

[0.7 -> main] blockchain-plugin: Shutdown node on error during block processing #157

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/blockchain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class blockchain_plugin_impl : std::enable_shared_from_this<blockchain_plugin_im
block_count=0;
}
} catch (const mdbx::exception& ex) {
SILK_CRIT << "CALLBACK ERR1" << std::string(ex.what());
sys::error("evm_blocks_subscription: mdbx::exception, " + std::string(ex.what()));
} catch (const std::exception& ex) {
SILK_CRIT << "CALLBACK ERR2" << std::string(ex.what());
sys::error("evm_blocks_subscription: std::exception:" + std::string(ex.what()));
} catch (...) {
SILK_CRIT << "CALLBACK ERR3";
sys::error("evm_blocks_subscription: unknown exception");
}
}
);
Expand Down