diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-06-14 18:03:39 +0000 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-06-14 18:03:39 +0000 |
| commit | 2f8bc64b1e688cc835e57547c544f34b8bcd7a2a (patch) | |
| tree | 80ed3e24f7277e21089a6126fe95055fb71d0a15 | |
| parent | 027ed1c9cc5087b611630aea08dd67a498e701a4 (diff) | |
| parent | 6813f159d742274f75401ea123c4b80588d56fcf (diff) | |
| download | flake8-2f8bc64b1e688cc835e57547c544f34b8bcd7a2a.tar.gz | |
Merge branch 'show_traceback' into 'master'
Show traceback on plugin exception
See merge request pycqa/flake8!317
| -rw-r--r-- | src/flake8/checker.py | 3 |
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 |
