Error Reporting is automatically enabled for App Engine flexible environment applications. No additional setup is required.
Messages written from App Engine to stderr
are analyzed and, if found
to contain errors, will be displayed by Error Reporting.
For details on manually reporting error events, go to Formatting errors in Cloud Logging.
For instructions on viewing error and exception data for your application in the Google Cloud console, go to Viewing errors.
Examples using the instrumentation libraries
If you'd like to customize the error information being sent to Error Reporting, you can use the instrumentation libraries available for a number of languages: