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

Noisy exceptions #2241

Closed
ahopkins opened this issue Sep 16, 2021 · 3 comments · Fixed by #2262
Closed

Noisy exceptions #2241

ahopkins opened this issue Sep 16, 2021 · 3 comments · Fixed by #2262

Comments

@ahopkins
Copy link
Member

$ sanic ... --no-quiet

This (plus a corresponding config) might be nice to have when debugging to ignore quiet=True on exceptions. I do not think it should be included in --debug.

The alternative might be to have different layers of verbosity in logging. And -vv would log out whenever an exception is swallowed.

@Tronic
Copy link
Member

Tronic commented Sep 17, 2021

Suggesting --noisy-exceptions or something else that (a) uses no negation and (b) is more specific.

@prryplatypus prryplatypus self-assigned this Oct 3, 2021
@prryplatypus
Copy link
Member

prryplatypus commented Oct 3, 2021

I was thinking about making it such that we could have different levels of verbosity across the whole app by using different amounts of vs (-vvv > -vv > -v), but -v is already in use to check the module version, so I think I'll go for -ne/--noisy-exceptions.

@ahopkins
Copy link
Member Author

ahopkins commented Oct 3, 2021

Verbosity levels is something I want to add.

@prryplatypus prryplatypus changed the title No quiet Noisy exceptions Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants