mirror of https://github.com/polybar/polybar.git
parent
1f0468add1
commit
09a797b637
|
@ -112,8 +112,9 @@ namespace modules {
|
|||
m_ipc.handle_event();
|
||||
return true;
|
||||
} catch (const std::exception& err) {
|
||||
if (enabled())
|
||||
m_log.err("%s: Error while handling ipc event (%s)", name(), err.what());
|
||||
m_log.err("%s: Error while handling ipc event, stopping module...", name());
|
||||
m_log.err("%s: %s", name(), err.what());
|
||||
stop();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue