laws-africa / peachjam

Project Peach Jam
https://agp.africanlii.org
GNU General Public License v3.0
2 stars 0 forks source link

KeyError: 'pap open data portal' #1866

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 3 months ago

Sentry Issue: LII-1E0

KeyError: 'pap open data portal'
(1 additional frame(s) were not displayed)
...
  File "django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "peachjam/views/documents.py", line 148, in dispatch
    resolver = RedirectResolver(settings.PEACHJAM["APP_NAME"])
  File "peachjam/views/documents.py", line 95, in __init__
    self.current_authority = self.RESOLVER_MAPPINGS[app_name.lower()]
longhotsummer commented 3 months ago

fixed