fix: Disable modules with error

This commit is contained in:
Michael Carlberg 2016-11-03 14:10:39 +01:00
parent 74a04ded80
commit b9e4ee9b92
1 changed files with 2 additions and 2 deletions

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