mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -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));
|
m_eventloop->add_module(align, move(module));
|
||||||
|
|
||||||
module_count++;
|
module_count++;
|
||||||
} catch (const module_error& err) {
|
} catch (const std::runtime_error& err) {
|
||||||
continue;
|
m_log.err("Disabling module \"%s\" (error: %s)", module_name, err.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue