aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-27 15:12:02 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-27 17:28:59 +0000
commit6e8554221fbdc4bb4dd236bd6b02e8a96c452755 (patch)
tree633078b7fc8789d3383c82adf9d79bfdf7020a2c /src
parentdb_lmdb: catch error in mdb_stat calls during migration (diff)
downloadmonero-6e8554221fbdc4bb4dd236bd6b02e8a96c452755.tar.xz
gen_multisig: nice exit on unhandled exception
Coverity 182569
Diffstat (limited to 'src')
-rw-r--r--src/gen_multisig/gen_multisig.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gen_multisig/gen_multisig.cpp b/src/gen_multisig/gen_multisig.cpp
index f11f442bc..69be70e1b 100644
--- a/src/gen_multisig/gen_multisig.cpp
+++ b/src/gen_multisig/gen_multisig.cpp
@@ -167,6 +167,8 @@ static bool generate_multisig(uint32_t threshold, uint32_t total, const std::str
int main(int argc, char* argv[])
{
+ TRY_ENTRY();
+
po::options_description desc_params(wallet_args::tr("Wallet options"));
command_line::add_arg(desc_params, arg_filename_base);
command_line::add_arg(desc_params, arg_scheme);
@@ -254,5 +256,5 @@ int main(int argc, char* argv[])
return 1;
return 0;
- //CATCH_ENTRY_L0("main", 1);
+ CATCH_ENTRY_L0("main", 1);
}