Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug mode isn't working #362

Open
codepilotsf opened this issue Sep 30, 2024 · 0 comments
Open

Debug mode isn't working #362

codepilotsf opened this issue Sep 30, 2024 · 0 comments

Comments

@codepilotsf
Copy link

codepilotsf commented Sep 30, 2024

In debug mode when creating a route which has an error in it (such as a division by zero error), the error page with stack trace is not shown.

Follow the official QuickStart:
https://quart.palletsprojects.com/en/latest/tutorials/quickstart.html

Add this route

@app.route('/err')
async def err():
    return str(1/0)

Navigate to /err page.

I expect to navigate to that page and see a nicely formatted error stack trace. Instead, I get a generic browser generated HTTP ERROR 500 message.

Environment:
Python 3.12.6
Quart 0.19.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant