From 8f5348136fd3b828698fb21e2ac8d42025923ca7 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Wed, 29 Jun 2016 15:22:22 -0500 Subject: [PATCH] Remove exc_info for logging.exception It's redundant and the docs say explicitly that it's ignored. --- src/flake8/plugins/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,