From 0dfc80a12a5e615b61f6ebe71311d20e2c212362 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Mon, 27 Jan 2020 13:15:00 +0100 Subject: [PATCH] [core] more precise warning on plugins load failure --- meshroom/core/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meshroom/core/__init__.py b/meshroom/core/__init__.py index c1856e51fa..cba9556201 100644 --- a/meshroom/core/__init__.py +++ b/meshroom/core/__init__.py @@ -86,9 +86,9 @@ def loadPlugins(folder, packageName, classType): errors.append(' * {}: {}'.format(pluginName, str(e))) if errors: - logging.warning('== The following plugins could not be loaded ==\n' - '{}\n' - .format('\n'.join(errors))) + logging.warning('== The following "{package}" plugins could not be loaded ==\n' + '{errorMsg}\n' + .format(package=packageName, errorMsg='\n'.join(errors))) return pluginTypes