diff --git a/core/pluginloader.cpp b/core/pluginloader.cpp index 0a3f07abc..8ca3e0de0 100644 --- a/core/pluginloader.cpp +++ b/core/pluginloader.cpp @@ -82,7 +82,7 @@ KdeConnectPlugin* PluginLoader::instantiatePluginForDevice(const QString& plugin return *result; } - qCDebug(KDECONNECT_CORE) << "Error loading plugin" << *result; + qCDebug(KDECONNECT_CORE) << "Error loading plugin" << result.error(); return nullptr; #endif }