Better exception when missing optional dependencies (like Brotli) #3723
Replies: 2 comments
Why this happens: Silent Fallback to
|
|
Hi! The root cause here is that in I have prepared a solution where known optional encodings ( Since pull requests are currently restricted to collaborators, please let me know if you would like a PR for this! |
Uh oh!
There was an error while loading. Please reload this page.
I've recently spent an unreasonable amount of time hunting a bug in my code, that ended up being that for whatever reason an API was returning
brcompressed data, and I didn't have thebrotlioptional installed.The error I was getting was extremely unhelpful.
What would help is if the error was like
MissingDependency: 'br' encoded content received, but 'brotli' dependency not installedor something along those lines.All reactions