mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-13 08:04:18 +00:00
Remove exc_info for logging.exception
It's redundant and the docs say explicitly that it's ignored.
This commit is contained in:
parent
5b8a875965
commit
8f5348136f
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class Plugin(object):
|
||||||
try:
|
try:
|
||||||
self._load(verify_requirements)
|
self._load(verify_requirements)
|
||||||
except Exception as load_exception:
|
except Exception as load_exception:
|
||||||
LOG.exception(load_exception, exc_info=True)
|
LOG.exception(load_exception)
|
||||||
failed_to_load = exceptions.FailedToLoadPlugin(
|
failed_to_load = exceptions.FailedToLoadPlugin(
|
||||||
plugin=self,
|
plugin=self,
|
||||||
exception=load_exception,
|
exception=load_exception,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue