Pretty and more helpful exceptions in Python, automatically. While using better_exceptions in production, do not forget to unset the exceptions variable to avoid leaking sensitive data in your logs. If you do not see beautiful exceptions, first make sure that the environment variable does exist. On Linux and OSX, the export command does not add the variable permanently, you will probably need to edit the ~/.profile file to make it persistent. On Windows, you need to open a new terminal after the setx command.
Features
- Helpful exceptions in Python
- Allow the entirety of values to be outputted
- In settings.py, add your new class to the MIDDLEWARE setting and update your logging configuration
Categories
TerminalsLicense
MIT LicenseFollow better-exceptions
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of better-exceptions!