Skip to content

Commit

Permalink
[core] more precise warning on plugins load failure
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Jan 27, 2020
1 parent 9bcad1c commit 0dfc80a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meshroom/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 0dfc80a

Please sign in to comment.