Forums

Problem with Flask app

Hey there, I am having an issue with my web app (still very new to this), and I can't seem to open the error.log file. at least, I can open it but it shows a very outdated error that I have fixed long ago, and it doesn't update making it very hard to fix the bugs :(

Is there a reload button I am missing? I have reloaded the web app several times

One possibility -- are you checking the bottom of the error log? New errors get added on to the end, so if you're only looking at the top you'll see the old one.

Oh I did not know that! I thought it'd be like "normal" python where the error just fills it up. Good to know!

Glad to help :-) We keep the old errors hanging around for web apps because the history is often useful -- for example, someone who's viewing your site might email you to tell you about an error, so you can scroll back to the specific time when they saw it to see what went wrong then.