mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-30 06:39:31 +02:00
Task #3953 - Inherit XArch and XBase from std::exception
This commit is contained in:
parent
78f30db6e9
commit
abe108195d
9 changed files with 21 additions and 30 deletions
|
@ -215,14 +215,14 @@ CMSWindowsWatchdog::mainLoop(void*)
|
|||
ARCH->sleep(1);
|
||||
|
||||
}
|
||||
catch (XArch& e) {
|
||||
LOG((CLOG_ERR "failed to launch, error: %s", e.what().c_str()));
|
||||
catch (std::exception& e) {
|
||||
LOG((CLOG_ERR "failed to launch, error: %s", e.what()));
|
||||
m_processFailures++;
|
||||
m_processRunning = false;
|
||||
continue;
|
||||
}
|
||||
catch (XSynergy& e) {
|
||||
LOG((CLOG_ERR "failed to launch, error: %s", e.what()));
|
||||
catch (...) {
|
||||
LOG((CLOG_ERR "failed to launch, unknown error."));
|
||||
m_processFailures++;
|
||||
m_processRunning = false;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue