diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index b5bb91a702..f2c1bc3fac 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -201,6 +201,7 @@ void OpenSpaceEngine::create(int argc, char** argv, requestClose = false; + LDEBUG("Initialize FileSystem"); ghoul::initialize(); // Initialize the LogManager and add the console log as this will be used every time @@ -214,7 +215,6 @@ void OpenSpaceEngine::create(int argc, char** argv, ); LogMgr.addLog(std::make_unique()); - LDEBUG("Initialize FileSystem"); #ifdef __APPLE__ ghoul::filesystem::File app(argv[0]); @@ -282,8 +282,9 @@ void OpenSpaceEngine::create(int argc, char** argv, } throw; } - catch (const ghoul::RuntimeError&) { + catch (const ghoul::RuntimeError& e) { LFATAL("Loading of configuration file '" << configurationFilePath << "' failed"); + LFATALC(e.component, e.message); throw; }