Skip to content

Commit 6769d10

Browse files
committed
fix: improve error message
1 parent edbcf2c commit 6769d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crayg/src/sceneIO/SceneReaderFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ std::shared_ptr<SceneReader> SceneReaderFactory::createSceneReader(std::string s
1414
if (extension == ".usd" || extension == ".usda" || extension == ".usdc") {
1515
return std::shared_ptr<SceneReader>(new UsdSceneReader(scenePath, scene, readOptions));
1616
} else {
17-
CRAYG_LOG_AND_THROW(std::runtime_error(fmt::format("No SceneReader found for extension {}", extension)));
17+
CRAYG_LOG_AND_THROW(std::runtime_error(fmt::format("No SceneReader found for extension '{}'", extension)));
1818
}
1919
}
2020

0 commit comments

Comments
 (0)