From b6673f6324a2137da9fc3ab046ff4d7da9438149 Mon Sep 17 00:00:00 2001 From: bill auger Date: Tue, 22 May 2018 03:29:01 -0400 Subject: [PATCH] move thisModule->isLoaded assert to after it's warning message --- src/libcalamaresui/modulesystem/ModuleManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcalamaresui/modulesystem/ModuleManager.cpp b/src/libcalamaresui/modulesystem/ModuleManager.cpp index 7afe5eef8..cbee61129 100644 --- a/src/libcalamaresui/modulesystem/ModuleManager.cpp +++ b/src/libcalamaresui/modulesystem/ModuleManager.cpp @@ -290,10 +290,10 @@ ModuleManager::loadModules() // If it's a ViewModule, it also appends the ViewStep to the ViewManager. thisModule->loadSelf(); m_loadedModulesByInstanceKey.insert( instanceKey, thisModule ); - Q_ASSERT( thisModule->isLoaded() ); if ( !thisModule->isLoaded() ) { cWarning() << "Module" << moduleName << "loading FAILED"; + Q_ASSERT( thisModule->isLoaded() ); continue; } }