From 50f2ae087ac98cd2f00e18434f142e14f77729d7 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Tue, 11 Dec 2018 21:18:40 +0100 Subject: [PATCH] minor --- FlippR-Driver/src/output/OutputDriverFactory.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FlippR-Driver/src/output/OutputDriverFactory.cpp b/FlippR-Driver/src/output/OutputDriverFactory.cpp index ac1d564..b5e6001 100644 --- a/FlippR-Driver/src/output/OutputDriverFactory.cpp +++ b/FlippR-Driver/src/output/OutputDriverFactory.cpp @@ -152,6 +152,7 @@ std::chrono::milliseconds get_deactivation_time(nlohmann::json &json) catch(json::type_error &e) { // todo log and exit + exit(EXIT_FAILURE); } } @@ -172,6 +173,7 @@ std::shared_ptr create_solenoid(nlohmann::json &solenoid_json, catch(json::type_error &e) { // todo log and exit + exit(EXIT_FAILURE); } } @@ -186,6 +188,7 @@ std::shared_ptr create_lamp(nlohmann::json &lamp_json, std::shared_ catch(json::type_error &e) { // todo log and exit + exit(EXIT_FAILURE); } } @@ -201,6 +204,7 @@ std::shared_ptr create_sound(nlohmann::json &sound_json, std::shar catch(json::type_error &e) { // todo log and exit + exit(EXIT_FAILURE); } }