mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-28 15:09:36 -06:00
Some cleanup of ConfigurationManager
This commit is contained in:
@@ -259,6 +259,12 @@ void OpenSpaceEngine::create(int argc, char** argv,
|
||||
ConfigurationManager::findConfiguration(configurationFilePath);
|
||||
}
|
||||
configurationFilePath = absPath(configurationFilePath);
|
||||
|
||||
if (!FileSys.fileExists(configurationFilePath)) {
|
||||
throw ghoul::FileNotFoundError(
|
||||
"Configuration file '" + configurationFilePath + "' not found"
|
||||
);
|
||||
}
|
||||
LINFO("Configuration Path: '" << configurationFilePath << "'");
|
||||
|
||||
// Loading configuration from disk
|
||||
|
||||
Reference in New Issue
Block a user