mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 02:46:52 +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:
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue