← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1191730] Re: Do not reraise exceptions

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => havana-2

** Changed in: oslo
       Status: Fix Committed => Fix Released

** Changed in: oslo
    Milestone: None => havana-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1191730

Title:
  Do not reraise exceptions

Status in Cinder:
  Fix Released
Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in OpenStack Identity (Keystone):
  Fix Released
Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  Reraising exception is bad praxis, because we lose TraceBack.
  So all places like:

  except SomeException as e:
      raise e

  should be replaced by

  except SomeException:
      raise

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1191730/+subscriptions