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

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow better-exceptions

better-exceptions Web Site

Other Useful Business Software
Award-winning proxy networks, AI-powered web scrapers, and business-ready datasets for download.
 Icon
Award-winning proxy networks, AI-powered web scrapers, and business-ready datasets for download.


How the world collects public web data

Bright Data is a leading data collection platform, enabling businesses to collect crucial structured and unstructured data from millions of websites through our proprietary technology. Our proxy networks give you access to sophisticated target sites using precise geo-targeting. You can also use our tools to unblock tough target sites, accomplish SERP-specific data collection tasks, manage and optimize your proxy performance as well as automating all of your data collection needs.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of better-exceptions!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Terminals

Registered

2022-02-04