Decimal on the SignatureFirstDate api

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
See https://sentry.prod.mozaws.net/operations/socorro-prod/group/322909/

TypeError: Decimal('20160210153822') is not JSON serializable
(9 additional frame(s) were not displayed)
...
  File "waffle/decorators.py", line 48, in _wrapped_view
    return view(request, *args, **kwargs)
  File "crashstats/crashstats/utils.py", line 334, in wrapper
    response = f(request, *args, **kw)
  File "crashstats/crashstats/utils.py", line 75, in wrapper
    indent=indent
  File "crashstats/crashstats/utils.py", line 23, in default
    return json.JSONEncoder.default(self, obj)

Comment 2

3 years ago
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/ba578bf1a7d690b1fd550b557c0dcb56b399f5e7
fixes bug 1262223 - Decimal on the SignatureFirstDate api

https://github.com/mozilla/socorro/commit/051e218f2a948d3c4aa0f4f968f29a6d9b378221
Merge pull request #3270 from peterbe/bug-1262223-decimal-on-the-signaturefirstdate-api

fixes bug 1262223 - Decimal on the SignatureFirstDate api

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.