audiothek

alternative frontend for ardaudiothek.de  https://audiothek.ce9e.org/
git clone https://git.ce9e.org/audiothek.git

commit
4df60eb0e97ee155a67dd9e20e877f6955e883a2
parent
a5d58767fe926258a56dbc5fa750750d3150b65d
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-05-30 21:14
log url on render error

Diffstat

M audiothek.py 6 +++++-

1 files changed, 5 insertions, 1 deletions


diff --git a/audiothek.py b/audiothek.py

@@ -168,7 +168,11 @@ async def feed(request):
  168   168         if show['items']['pageInfo']['hasNextPage']:
  169   169             links['next'] = f'{ORIGIN}{request.url.path}?offset={offset + COUNT}'
  170   170 
  171    -1     body = render_feed(show, links)
   -1   171     try:
   -1   172         body = render_feed(show, links)
   -1   173     except Exception:
   -1   174         print(f'While serving {request.url}')
   -1   175         raise
  172   176 
  173   177     return web.Response(
  174   178         body=body.encode('utf8'),