mirror of
https://github.com/polybar/polybar.git
synced 2024-11-03 04:33:30 -05:00
fix: Disable modules with error
This commit is contained in:
parent
74a04ded80
commit
b9e4ee9b92
1 changed files with 2 additions and 2 deletions
|
@ -407,8 +407,8 @@ void controller::bootstrap_modules() {
|
|||
m_eventloop->add_module(align, move(module));
|
||||
|
||||
module_count++;
|
||||
} catch (const module_error& err) {
|
||||
continue;
|
||||
} catch (const std::runtime_error& err) {
|
||||
m_log.err("Disabling module \"%s\" (error: %s)", module_name, err.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue