mozilla / normandy

Firefox recipe server
https://wiki.mozilla.org/Firefox/Recipe_Server
Mozilla Public License 2.0
55 stars 46 forks source link

__version__ gives 500 error when no version info provided #911

Open mythmon opened 7 years ago

mythmon commented 7 years ago

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'
shell1 commented 5 years ago

jared mentioned wrapping normandy in docker -

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

b-thebest commented 3 years ago

Can I work on this issue