Scan for except Exception: where we meant except (Exception, Timeout):

Bug #758885 reported by gholt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Medium
Richard Hawkins

Bug Description

We need to scan through our code looking for except Exception: clauses where we really mean except (Exception, Timeout):

We actually shouldn't make our own TimeoutException subclass of Timeout, as it has been indicated that some library routines have exception Exception: in them where it's not desirable to have them catching Timeouts.

gholt (gholt)
description: updated
summary: - We should make our own TimeoutException that subclasses eventlet.Timeout
- and Exception
+ Scan for except Exception: where we meant except (Exception, Timeout):
Changed in swift:
assignee: nobody → Varadharajan Mukundan (srinathsmn)
clayg (clay-gerrard)
tags: added: low-hanging-fruit
Revision history for this message
Tom Fifield (fifieldt) wrote :

removing Varadharajan Mukundan as asignee, as we've not heard anything in 3 years. If this was done in error, please re-assign.

Changed in swift:
assignee: Varadharajan Mukundan (srinathsmn) → nobody
Changed in swift:
assignee: nobody → Richard Hawkins (richard-hawkins)
Revision history for this message
Jiri Suchomel (jsuchome) wrote :

Didn't you already solve it by

https://review.openstack.org/#/c/1380/ ?

Matthew Oliver (matt-0)
Changed in swift:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.