mirror of
https://github.com/polybar/polybar.git
synced 2026-02-24 09:15:27 +00:00
fix: Disable modules with error
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user