mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Show traceback on plugin exception
This commit is contained in:
parent
b6ba6d4d03
commit
6813f159d7
1 changed files with 2 additions and 1 deletions
|
|
@ -435,7 +435,8 @@ class FileChecker(object):
|
|||
return plugin["plugin"](**arguments)
|
||||
except Exception as all_exc:
|
||||
LOG.critical(
|
||||
"Plugin %s raised an unexpected exception", plugin["name"]
|
||||
"Plugin %s raised an unexpected exception", plugin["name"],
|
||||
exc_info=True
|
||||
)
|
||||
raise exceptions.PluginExecutionFailed(
|
||||
plugin=plugin, exception=all_exc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue