1
0
Fork 0
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:
Michael Carlberg 2016-11-03 14:10:39 +01:00
parent 74a04ded80
commit b9e4ee9b92

View file

@ -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());
}
}
}