From 710656013eef2b42dc84bfed4e8bf1290d82cc0d Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 19 Jan 2024 16:31:30 -0500 Subject: [PATCH] loader to BLT_THROW --- src/blt/std/loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blt/std/loader.cpp b/src/blt/std/loader.cpp index b13c11f..48086c4 100755 --- a/src/blt/std/loader.cpp +++ b/src/blt/std/loader.cpp @@ -84,7 +84,7 @@ std::string blt::fs::getFile(std::string_view path) { BLT_WARN("Unable to read file '%s'!\n", std::string(path).c_str()); BLT_WARN("Exception: %s", e.what()); - throw std::runtime_error("Failed to read file!\n"); + BLT_THROW(std::runtime_error("Failed to read file!\n")); } return file_contents; }