normandy icon indicating copy to clipboard operation
normandy copied to clipboard

__version__ gives 500 error when no version info provided

Open mythmon opened this issue 8 years ago • 2 comments

https://sentry.prod.mozaws.net/operations/normandy-dev/issues/628397/

AttributeError: 'NoneType' object has no attribute 'isoformat'
(5 additional frame(s) were not displayed)
...
  File "rest_framework/views.py", line 483, in dispatch
    response = self.handle_exception(exc)
  File "rest_framework/views.py", line 443, in handle_exception
    self.raise_uncaught_exception(exc)
  File "rest_framework/views.py", line 480, in dispatch
    response = handler(request, *args, **kwargs)
  File "rest_framework/decorators.py", line 52, in handler
    return func(*args, **kwargs)

AttributeError: 'NoneType' object has no attribute 'isoformat'

mythmon avatar Jul 24 '17 18:07 mythmon

jared mentioned wrapping normandy in docker -

if you don't have a version file, fail gracefully instead of throwing error

shell1 avatar Jul 12 '19 16:07 shell1

Can I work on this issue

b-thebest avatar Mar 04 '21 09:03 b-thebest