]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Cleaned up remaining incorrect usage for LOG.exception
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 8 Oct 2015 12:56:30 +0000 (14:56 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 8 Oct 2015 14:45:18 +0000 (16:45 +0200)
commit2758739847e30e18675ad945a1a3ad04c4603e3f
treee18da18479a429639a8167a0e97fdca6e2861941
parent8f58bbf38f5984e70d6e0be7427deb99d7782d1d
Cleaned up remaining incorrect usage for LOG.exception

- callers should not explicitly pass exceptions into LOG.exception
  because it's already implicitly included in the message by stdlib
  logging module.
- callers should not call to LOG.exception when there is no exception to
  log about (known to fail in Python 3.x < 3.5).

Change-Id: I58e7e01ed152028ad43bb3ada87d719caa2ab08d
Related-Bug: #1504053
doc/source/devref/effective_neutron.rst
neutron/agent/common/ovs_lib.py
neutron/agent/l3/router_info.py
neutron/api/extensions.py
neutron/cmd/sanity/checks.py
neutron/plugins/brocade/nos/nosdriver.py
neutron/services/provider_configuration.py