diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-06-29 15:22:22 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-06-29 15:22:22 -0500 |
| commit | 8f5348136fd3b828698fb21e2ac8d42025923ca7 (patch) | |
| tree | 19d8390f666441ed689bf12442605e80e2d347bc /src/flake8/plugins | |
| parent | 5b8a875965c40e1fe3f189fb8940153360b9aff6 (diff) | |
| download | flake8-8f5348136fd3b828698fb21e2ac8d42025923ca7.tar.gz | |
Remove exc_info for logging.exception
It's redundant and the docs say explicitly that it's ignored.
Diffstat (limited to 'src/flake8/plugins')
| -rw-r--r-- | src/flake8/plugins/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/plugins/manager.py b/src/flake8/plugins/manager.py index a64545a..844a787 100644 --- a/src/flake8/plugins/manager.py +++ b/src/flake8/plugins/manager.py @@ -158,7 +158,7 @@ class Plugin(object): try: self._load(verify_requirements) except Exception as load_exception: - LOG.exception(load_exception, exc_info=True) + LOG.exception(load_exception) failed_to_load = exceptions.FailedToLoadPlugin( plugin=self, exception=load_exception, |
