dwm: Don't swallow exceptions in stop()

Don't want to mask any nasty bugs.
This commit is contained in:
Mihir Lad 2020-07-29 21:45:09 -04:00
parent 6584710b1e
commit 81349d657d

View File

@ -147,7 +147,8 @@ namespace modules {
try { try {
m_log.info("%s: Disconnecting from socket", name()); m_log.info("%s: Disconnecting from socket", name());
m_ipc.reset(nullptr); m_ipc.reset(nullptr);
} catch (...) { } catch (const dwmipc::IPCError& err) {
throw module_error(err.what());
} }
event_module::stop(); event_module::stop();