Open Bug 1215520 Opened 9 years ago Updated 5 years ago

[PulseGuardian] Handle auth failures gracefully


(Webtools :: Pulse, enhancement, P5)



(firefox44 affected)

Tracking Status
firefox44 --- affected


(Reporter: mcote, Unassigned)



At the moment we get unhelpful errors like this when there are auth-related failures.  This occurred when using a valid username and password but for an account without admin privileges:

2015-10-16T13:22:57.404924+00:00 app[worker.1]: 2015-10-16 13:22:57 - INFO: PulseGuardian started
2015-10-16T13:22:57.404940+00:00 app[worker.1]: PulseGuardian started
2015-10-16T13:22:57.809351+00:00 app[worker.1]: Traceback (most recent call last):
2015-10-16T13:22:57.809359+00:00 app[worker.1]:   File "pulseguardian/", line 247, in <module>
2015-10-16T13:22:57.809416+00:00 app[worker.1]:     pulse_guardian.guard()
2015-10-16T13:22:57.809447+00:00 app[worker.1]:   File "pulseguardian/", line 232, in guard
2015-10-16T13:22:57.809505+00:00 app[worker.1]:     self.clear_deleted_queues(queues)
2015-10-16T13:22:57.809524+00:00 app[worker.1]:   File "pulseguardian/", line 54, in clear_deleted_queues
2015-10-16T13:22:57.809551+00:00 app[worker.1]:     alive_queues_names = set(q['name'] for q in queues)
2015-10-16T13:22:57.809566+00:00 app[worker.1]:   File "pulseguardian/", line 54, in <genexpr>
2015-10-16T13:22:57.809592+00:00 app[worker.1]:     alive_queues_names = set(q['name'] for q in queues)
2015-10-16T13:22:57.809617+00:00 app[worker.1]: TypeError: string indices must be integers
Depends on: 1225274
Type: defect → enhancement
Priority: P1 → P5
You need to log in before you can comment on or make changes to this bug.