mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[core] more precise warning on plugins load failure
This commit is contained in:
parent
9bcad1ca4a
commit
0dfc80a12a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue