Closed Bug 1503001 Opened 7 years ago Closed 7 years ago

[traceback] AttributeError: 'unicode' object has no attribute 'get' in /monitoring/crontabber

Categories

(Socorro :: Webapp, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

https://sentry.prod.mozaws.net/operations/socorro-new-prod/issues/4893551/ """ AttributeError: 'unicode' object has no attribute 'get' File "django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "crashstats/crashstats/utils.py", line 56, in wrapper response = f(request, *args, **kw) File "crashstats/monitoring/views.py", line 27, in crontabber_status all_apps = api.get()['state'] File "crashstats/crashstats/models.py", line 1007, in get 'type': last_error.get('type', 'Unknown') """ This just started happening after we pushed out changes to crontabber to prod. It's entirely possible it's because the table is empty and once we get stuff in the table, it'll go away. Even so, it's worth fixing it. This bug covers that.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P1
pingdom uses this endpoint, so it paged ops.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: