dwm: Don't swallow exceptions in stop()
Don't want to mask any nasty bugs.
This commit is contained in:
parent
6584710b1e
commit
81349d657d
@ -147,7 +147,8 @@ namespace modules {
|
||||
try {
|
||||
m_log.info("%s: Disconnecting from socket", name());
|
||||
m_ipc.reset(nullptr);
|
||||
} catch (...) {
|
||||
} catch (const dwmipc::IPCError& err) {
|
||||
throw module_error(err.what());
|
||||
}
|
||||
|
||||
event_module::stop();
|
||||
|
Loading…
Reference in New Issue
Block a user