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

Ensure proper intent for noisy exceptions #2960

Closed ahopkins closed 4 months ago

ahopkins commented 4 months ago

There is currently an unintended consequence when running via CLI in that not providing --noisy-exceptions or --no-noisy-exceptions sets NOISY_EXCEPTIONS to False. Since the runtime overrides the app specific config, this leads to unintended consequences where the app should be respected if the runtime does not define a behavior.