mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
parent
1f0468add1
commit
09a797b637
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue