simplewallet: top level exception catcher to print nicer messages

Coverity 188408
This commit is contained in:
moneromooo-monero 2018-09-27 10:56:54 +00:00
parent c57a65b246
commit 02563bf4b9
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -8072,6 +8072,8 @@ void simple_wallet::commit_or_save(std::vector<tools::wallet2::pending_tx>& ptx_
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
TRY_ENTRY();
#ifdef WIN32 #ifdef WIN32
// Activate UTF-8 support for Boost filesystem classes on Windows // Activate UTF-8 support for Boost filesystem classes on Windows
std::locale::global(boost::locale::generator().generate("")); std::locale::global(boost::locale::generator().generate(""));
@ -8166,5 +8168,5 @@ int main(int argc, char* argv[])
w.deinit(); w.deinit();
} }
return 0; return 0;
//CATCH_ENTRY_L0("main", 1); CATCH_ENTRY_L0("main", 1);
} }