diff --git a/libs/utils/functions.hpp b/libs/utils/functions.hpp index ad19ed9..9f0bf2c 100644 --- a/libs/utils/functions.hpp +++ b/libs/utils/functions.hpp @@ -2,12 +2,7 @@ #define UTILS_FUNCTIONS_HPP_ struct functions { static inline std::string isNull(const nlohmann::json& str) { - try { - return str.is_null() ? str.dump() : str.get(); - } - catch (...) { - return "null"; - } + return str.is_null() ? str.dump() : str.get(); } }; #endif \ No newline at end of file