From 5937d893da5656be3f486c863ae54e08bbe66579 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 9 Aug 2022 16:57:53 -0400 Subject: Added generic items, worked on features --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 2998704..9d22a66 100644 --- a/src/utils.h +++ b/src/utils.h @@ -67,7 +67,7 @@ namespace utils { ent = entry::Entry::create(loadJson(path)); } catch(std::exception& e) { if(std::filesystem::directory_entry(path).exists()) { - throw std::runtime_error("Invalid json: " + path.string()); + throw std::runtime_error("Invalid json: " + path.string() + ": " + e.what()); } else { throw std::runtime_error("No such file nor directory: " + path.string()); } -- cgit v1.2.3