It's in the details!
If you’ve been reading my blog recently, you’d have probably guess that I really like Flask.
In debug mode, Flask generates an error report in your browser, when an exception is not caught for example.
While working on a small thing today, I was using curl to query a Flask app and I had an exception. The html code prints in the terminal but noticed something pretty awesome. At the end of the page, enclosed in an html comment there is the traceback in plain text.
It’s the little details like this that make a framework/library great to use.
comments powered by Disqus