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