From 6c5f664d36605a675091ea31c8af6ca8db9459d6 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 3 Feb 2024 07:11:32 +0300 Subject: [PATCH] ContentPack::scan another unhandled exception fix --- src/content/ContentPack.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/ContentPack.cpp b/src/content/ContentPack.cpp index 5e6f459c..b72930db 100644 --- a/src/content/ContentPack.cpp +++ b/src/content/ContentPack.cpp @@ -102,6 +102,8 @@ void ContentPack::scan(fs::path rootfolder, } catch (const contentpack_error& err) { std::cerr << "package.json error at " << err.getFolder().u8string(); std::cerr << ": " << err.what() << std::endl; + } catch (const std::runtime_error& err) { + std::cerr << err.what() << std::endl; } } }