Automated error reporting is not only a way to receive notifications when things go wrong, but it also offers the information necessary to reproduce the problem locally.
Saleor provides integration with Sentry, a comprehensive error tracking and reporting tool.
To use it, set the following environment variable:
Sentry Data Source Name, you can find it in your Sentry project settings.
If you need to customize the service, see the official Sentry documentation for Django for more details.