mirror of
https://github.com/polybar/polybar.git
synced 2026-03-12 19:25:26 +00:00
fix(i3): Ignore ipc read error on shutdown
This commit is contained in:
@ -113,9 +113,11 @@ namespace modules {
|
||||
m_ipc.handle_event();
|
||||
return true;
|
||||
} catch (const std::exception& err) {
|
||||
m_log.err("%s: Error while handling ipc event, stopping module...", name());
|
||||
m_log.err("%s: %s", name(), err.what());
|
||||
stop();
|
||||
if (enabled()) {
|
||||
m_log.err("%s: Error while handling ipc event, stopping module...", name());
|
||||
m_log.err("%s: %s", name(), err.what());
|
||||
stop();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user