Stackdriver Error Reporting
aggregates and displays errors produced in your running Cloud Run
services. Cloud Run is automatically integrated with
Stackdriver Error Reporting with no setup or configuration required. All
exceptions that include a stack trace in Stackdriver Error Reporting-supported
languages, and that are sent to
stderr, or to other logs,
are automatically visible.
You should handle errors and exceptions that occur during requests. Allowing such errors to crash your application process results in a cold start where a new container instance is started up.
You can view errors after Stackdriver Error Reporting has picked them up. For details, see Viewing Errors.
For more details
For information, see the Stackdriver Error Reporting documentation.