summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-06-14 18:03:39 +0000
committerAnthony Sottile <asottile@umich.edu>2019-06-14 18:03:39 +0000
commit2f8bc64b1e688cc835e57547c544f34b8bcd7a2a (patch)
tree80ed3e24f7277e21089a6126fe95055fb71d0a15 /src
parent027ed1c9cc5087b611630aea08dd67a498e701a4 (diff)
parent6813f159d742274f75401ea123c4b80588d56fcf (diff)
downloadflake8-2f8bc64b1e688cc835e57547c544f34b8bcd7a2a.tar.gz
Merge branch 'show_traceback' into 'master'
Show traceback on plugin exception See merge request pycqa/flake8!317
Diffstat (limited to 'src')
-rw-r--r--src/flake8/checker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flake8/checker.py b/src/flake8/checker.py
index fd5658a..de9aaa0 100644
--- a/src/flake8/checker.py
+++ b/src/flake8/checker.py
@@ -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