1
0
Fork 0
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:
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)); 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());
} }
} }
} }