i just moved from bottleframework to flask. I changes what needed to be altered to convert the code and when i run it i just get "Internal server error" Running tail -f ../logs/error_log i get no errors. How can i find out what is the culprit her
Menno Holscher
mennoholscher at gmail.com
Fri Jul 9 15:41:34 EDT 2021
Op 09-07-2021 om 15:01 schreef vergos.... at gmail.com:
> please tell me what i need to do to be able to see error messages in browser and not only via console:
>
> app = Flask(__name__)
> app.debug = True
> application = app
>
> The above only displays error via console into the error_log, having to open it each time. how can i see it in browser?
>
This is totally unrelated to your earlier question, and (as many things
Flask) well documented.
Look at
https://flask.palletsprojects.com/en/2.0.x/debugging/#the-built-in-debugger
--
Met vriendelijke groet / Kind regards
Menno Hölscher
More information about the Python-list
mailing list