fix(volume): Warn instead of throw
This commit is contained in:
parent
83e523518e
commit
06dee3dedd
2 changed files with 4 additions and 3 deletions
src/components
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue