mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
simplewallet: top level exception catcher to print nicer messages
Coverity 188408
This commit is contained in:
parent
c57a65b246
commit
02563bf4b9
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue