From b9e4ee9b92408a99f4ba7f9310f108d9adb2d40d Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Thu, 3 Nov 2016 14:10:39 +0100 Subject: [PATCH] fix: Disable modules with error --- src/components/controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/controller.cpp b/src/components/controller.cpp index 868b284c..bb48bcfe 100644 --- a/src/components/controller.cpp +++ b/src/components/controller.cpp @@ -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()); } } }