loader to BLT_THROW

v1
Brett 2024-01-19 16:31:30 -05:00
parent 3163e66879
commit 710656013e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}