diff --git a/lib/utils/system_util.dart b/lib/utils/system_util.dart index eb3cc78..f5237fc 100644 --- a/lib/utils/system_util.dart +++ b/lib/utils/system_util.dart @@ -68,11 +68,7 @@ Map? getMapFromJson(String jsonStr) { Map? getMapFromYaml(String yamlStr) { Map? map; if (yamlStr.length > 5) { - try { - map = jsonDecode(jsonEncode(loadYaml(yamlStr))); - } catch (e) { - print("Error: $e"); - } + map = jsonDecode(jsonEncode(loadYaml(yamlStr))); } return map; }