mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-14 14:54:32 -04:00
First iteration of optional TCP/IP client for PSK Reporter
This commit is contained in:
@@ -82,12 +82,12 @@ namespace
|
||||
}
|
||||
catch (std::exception const& e)
|
||||
{
|
||||
MessageBox::critical_message (nullptr, translate ("main", "Fatal error"), e.what ());
|
||||
MessageBox::critical_message (nullptr, "Fatal error", e.what ());
|
||||
throw;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
MessageBox::critical_message (nullptr, translate ("main", "Unexpected fatal error"));
|
||||
MessageBox::critical_message (nullptr, "Unexpected fatal error");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
@@ -407,12 +407,12 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
catch (std::exception const& e)
|
||||
{
|
||||
MessageBox::critical_message (nullptr, QApplication::translate ("main", "Fatal error"), e.what ());
|
||||
MessageBox::critical_message (nullptr, "Fatal error", e.what ());
|
||||
std::cerr << "Error: " << e.what () << '\n';
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
MessageBox::critical_message (nullptr, QApplication::translate ("main", "Unexpected fatal error"));
|
||||
MessageBox::critical_message (nullptr, "Unexpected fatal error");
|
||||
std::cerr << "Unexpected fatal error\n";
|
||||
throw; // hoping the runtime might tell us more about the exception
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user