sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.
https://sanic.dev
MIT License
18.11k stars 1.55k forks source link

Fix SanicException `quiet` attribute handling when set to False #3009

Open C5H12O5 opened 4 days ago

C5H12O5 commented 4 days ago

Fixes an issue where the quiet attribute in SanicException would default to the class attribute when set to False. This occurs when the subclass quiet attribute is True. The fix ensures only None triggers the fallback.

ahopkins commented 2 days ago

Excellent. Thanks for the test also! I'll fix the tests failures.