From 5ffa7c37067d315f0f260845f6514cce37f6ff8c Mon Sep 17 00:00:00 2001 From: "leedongmyung[desktop]" Date: Sat, 18 Nov 2023 15:41:15 +0900 Subject: [PATCH] add update --- lib/utils/system_util.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; }