diff --git a/backend/app/controllers/modeus.py b/backend/app/controllers/modeus.py index cef5e29..0ed1983 100644 --- a/backend/app/controllers/modeus.py +++ b/backend/app/controllers/modeus.py @@ -54,6 +54,6 @@ async def get_modeus_events( jwt = auth.value.split()[1] return self.json(await modeus.get_events(jwt, item.value)) except IndexError as exception: - return self.json({"error": "cannot parse authorization header"}) + return self.json({"error": f"cannot parse authorization header {exception}"}) except (RequestException, ModeusError) as exception: return self.json({"error": f"can't authenticate {exception}"}, status=400) diff --git a/backend/app/main.py b/backend/app/main.py index 00365f7..51971b9 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -7,7 +7,6 @@ from app.errors import configure_error_handlers from app.services import configure_services from app.settings import Settings, load_settings -from app.templating import configure_templating from blacksheep import Application from rodi import Container