agdsn / sipa

The Supreme Information Providing Application
MIT License
13 stars 10 forks source link

AssertionError #475

Open agdsn-sentry[bot] opened 11 months ago

agdsn-sentry[bot] commented 11 months ago

Sentry Issue: SIPA-4G

AssertionError: 
(1 additional frame(s) were not displayed)
...
  File "flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "sipa/blueprints/news.py", line 107, in edit
    "news_edit.html", content=try_get_content(current_app.cf_pages, filename)
  File "sipa/blueprints/news.py", line 95, in try_get_content
    assert isinstance(article, Article)