fix(volume): Warn instead of throw

This commit is contained in:
NBonaparte 2018-01-20 13:58:19 -08:00 committed by Patrick Ziegler
parent 83e523518e
commit 06dee3dedd
2 changed files with 4 additions and 3 deletions
src/components

View file

@ -103,7 +103,7 @@ controller::controller(connection& conn, signal_emitter& emitter, const logger&
throw application_error("Inter-process messaging needs to be enabled");
}
m_modules[align].emplace_back(make_module(move(type), m_bar->settings(), module_name));
m_modules[align].emplace_back(make_module(move(type), m_bar->settings(), module_name, m_log));
created_modules++;
} catch (const runtime_error& err) {
m_log.err("Disabling module \"%s\" (reason: %s)", module_name, err.what());