aboutsummaryrefslogtreecommitdiff
path: root/tests/AssetsLibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/AssetsLibrary.cpp')
-rw-r--r--tests/AssetsLibrary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/AssetsLibrary.cpp b/tests/AssetsLibrary.cpp
index 529a2a2d95..7e380fa8f3 100644
--- a/tests/AssetsLibrary.cpp
+++ b/tests/AssetsLibrary.cpp
@@ -153,7 +153,7 @@ RawTensor load_ppm(const std::string &path)
if(!file.good())
{
- throw std::runtime_error("Could not load PPM image: " + path);
+ throw framework::FileNotFound("Could not load PPM image: " + path);
}
unsigned int width = 0;