AttributeError for "__traceback__" when reporting an exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Benji York | ||
lazr.restful |
Fix Released
|
Critical
|
Benji York |
Bug Description
A lazr.restful change I made assumes that all exceptions have a __traceback__ attribute. Some don't (specifically LaunchpadTimeou
181 AttributeError: 'LaunchpadTimeo
'__traceback__'
GET: 176 POST: 5 Robots: 0 Local: 5
71 https:/
(Distribution:
OOPS-2087AO27, OOPS-2087AO29, OOPS-2087AO9, OOPS-2087AP3, OOPS-2087AQ79
52 https:/
(Distribution:
OOPS-2087AO28, OOPS-2087AP6, OOPS-2087AQ58, OOPS-2087AR51, OOPS-2087AS26
47 https:/
(Person:
OOPS-2087A46, OOPS-2087AO5, OOPS-2087AO58, OOPS-2087AP15, OOPS-2087AP54
The fix is relatively simple and in-progress.
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 110 lines (+33/-11)2 files modifiedsrc/lazr/restful/_resource.py (+3/-1)
src/lazr/restful/tests/test_error.py (+30/-10)
- Benji York (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedversions.cfg (+1/-1)
description: | updated |
Changed in lazr.restful: | |
status: | New → In Progress |
assignee: | nobody → Benji York (benji) |
importance: | Undecided → Critical |
Changed in lazr.restful: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
tags: | added: qa-ok |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Any progress on this? The branch seems ready to land.