From 7195054bfd9544e3049e77d0dd5d3e4752389078 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 4 Jun 2017 20:42:16 +0200 Subject: [PATCH] Logging: distinguish different failures in module instantiation. --- src/libcalamaresui/modulesystem/ViewModule.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libcalamaresui/modulesystem/ViewModule.cpp b/src/libcalamaresui/modulesystem/ViewModule.cpp index a06ec3fba..ba054a8b1 100644 --- a/src/libcalamaresui/modulesystem/ViewModule.cpp +++ b/src/libcalamaresui/modulesystem/ViewModule.cpp @@ -1,6 +1,7 @@ /* === This file is part of Calamares - === * * Copyright 2014, Teo Mrnjavac + * Copyright 2017, Adriaan de Groot * * Calamares is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,14 +52,14 @@ ViewModule::loadSelf() PluginFactory* pf = qobject_cast< PluginFactory* >( m_loader->instance() ); if ( !pf ) { - cDebug() << Q_FUNC_INFO << m_loader->errorString(); + cDebug() << Q_FUNC_INFO << "No factory:" << m_loader->errorString(); return; } m_viewStep = pf->create< Calamares::ViewStep >(); if ( !m_viewStep ) { - cDebug() << Q_FUNC_INFO << m_loader->errorString(); + cDebug() << Q_FUNC_INFO << "create() failed" << m_loader->errorString(); return; } // cDebug() << "ViewModule loading self for instance" << instanceKey()