Why can I not get into the try statement?

hi there,

On day 86 of 100 there task is to create a blog that allows 1 user (one’s self) to log in and then add and view their own posts.

I have added a sign up function which, given I am using the replit DB, mixes the key / values of users.

later I am trying to go to the DB and get all the posts that have a key-value pair “date”:date and this try block does not get executed and goes to the exception which seems to inform me that the key is the issue.

I am aware this is not great code and there are other issues. I am trying to solve this first but would love more feedback overall. Thank you in advance.

3 posts were merged into an existing topic: Day 086 - Project 86 : Blog Time