This commit is contained in:
Jonas Zeunert
2018-12-11 21:18:40 +01:00
parent 838d3227c6
commit 50f2ae087a

View File

@@ -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<items::Solenoid> 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<items::Lamp> 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<items::Sound> create_sound(nlohmann::json &sound_json, std::shar
catch(json::type_error &e)
{
// todo log and exit
exit(EXIT_FAILURE);
}
}