Closed
Bug 684222
Opened 13 years ago
Closed 13 years ago
Simple way to display a backend in a backenderror
Categories
(Cloud Services :: Server: Core, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: tarek, Assigned: tarek)
References
Details
(Whiteboard: [qa+])
Attachments
(2 files)
4.83 KB,
patch
|
telliott
:
review+
|
Details | Diff | Splinter Review |
5.45 KB,
patch
|
rmiller
:
review+
|
Details | Diff | Splinter Review |
When we want to add more details about the backend in a backenderror, we can use BackendError(server='the.server') This is fine but implies that we know how to get back the server url or ip etc out of the backend. And this can be different depending on the used backend. I want to introduce two things: 1/ a backend option for backenderror, to pass the backend 2/ a __str__() function every backend should implement, that displays all the unsecured relevant info about the backend (the url, or the ip or anything else relevant) BackendError will simply dump str(backend)
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → tarek
Status: NEW → ASSIGNED
Attachment #558775 -
Flags: review?(telliott)
Attachment #558775 -
Flags: review?(rmiller)
Updated•13 years ago
|
Attachment #558775 -
Flags: review?(telliott) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #558849 -
Flags: review?(rmiller)
Updated•13 years ago
|
Attachment #558849 -
Flags: review?(rmiller) → review+
Assignee | ||
Comment 3•13 years ago
|
||
https://hg.mozilla.org/services/server-core/rev/17b0641356f5
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Attachment #558775 -
Flags: review?(rmiller)
You need to log in
before you can comment on or make changes to this bug.
Description
•