mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-31 03:06:53 +00:00
Merge branch 'show_traceback' into 'master'
Show traceback on plugin exception See merge request pycqa/flake8!317
This commit is contained in:
commit
2f8bc64b1e
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