catch_errors middleware needs more verbose logging
Bug #703095 reported by
Chuck Thier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Medium
|
Chuck Thier |
Bug Description
Currently, the catch_errors middleware will catch the error, but just prints the error message. This doesn't give enough context as to where the error happened, so it should include the traceback as well.
Changed in swift: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Chuck Thier (cthier) |
milestone: | none → 1.2.0 |
Changed in swift: | |
status: | Won't Fix → Invalid |
To post a comment you must log in.
???
wfm
Jan 14 16:58:20 rackswift proxy-server Error: global name 'asdf' is not defined: #012Traceback (most recent call last):#012 File "/home/ clayg/local/ swift/common/ middleware/ catch_errors. py", line 37, in __call__#012 return self.app(env, start_response)#012 File "/home/ clayg/local/ swift/common/ middleware/ healthcheck. py", line 34, in __call__#012 asdf#012NameError: global name 'asdf' is not defined