Print details of any exceptions that escape UpdateInstaller::run()
This commit is contained in:
parent
d7ecf3722a
commit
2b772611ff
|
@ -19,10 +19,17 @@
|
|||
void setupUi(UpdateInstaller* installer);
|
||||
|
||||
void runUpdaterThread(void* arg)
|
||||
{
|
||||
try
|
||||
{
|
||||
UpdateInstaller* installer = static_cast<UpdateInstaller*>(arg);
|
||||
installer->run();
|
||||
}
|
||||
catch (const std::exception& ex)
|
||||
{
|
||||
LOG(Error,"Unexpected exception " + std::string(ex.what()));
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue