Stay organized with collections
Save and categorize content based on your preferences.
Error Reporting is automatically enabled for Cloud Run
applications. For most programming languages,
exceptions written to stderr, stdout, or
other logs that include a stack trace in
Error Reporting-supported languages
are written to Cloud Logging and are automatically detected by
Error Reporting.
If exceptions aren't detected, then we recommend that you use the
Error Reporting client library
for your language. For more information, see
Setup by language.
To view exception logs in Cloud Run, go to the Metrics tab of
the service detail page. It includes a
table showing the top errors for Cloud Run that
Error Reporting has detected and aggregated.
For instructions on viewing error and exception data for your application in
the Google Cloud console, go to
Viewing errors.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eError Reporting is automatically enabled for Cloud Run applications, capturing exceptions written to \u003ccode\u003estderr\u003c/code\u003e, \u003ccode\u003estdout\u003c/code\u003e, or logs with stack traces.\u003c/p\u003e\n"],["\u003cp\u003eIf exceptions aren't automatically detected, it is recommended to use the Error Reporting client library for your programming language.\u003c/p\u003e\n"],["\u003cp\u003eYou can view a table of the top errors detected and aggregated by Error Reporting in the \u003cstrong\u003eMetrics\u003c/strong\u003e tab of the Cloud Run service detail page.\u003c/p\u003e\n"],["\u003cp\u003eDetailed instructions on how to report error events manually and view error data can be found in the provided documentation links.\u003c/p\u003e\n"]]],[],null,["Error Reporting is automatically enabled for Cloud Run\napplications. For most programming languages,\nexceptions written to `stderr`, `stdout`, or\nother logs that include a stack trace in\nError Reporting-supported languages\nare written to Cloud Logging and are automatically detected by\nError Reporting.\nIf exceptions aren't detected, then we recommend that you use the\nError Reporting client library\nfor your language. For more information, see\n[Setup by language](/error-reporting/docs/setup#setup-by-language).\n\nFor details on manually reporting error events, go to\n[Formatting errors in Cloud Logging](/error-reporting/docs/formatting-error-messages).\n\nViewing errors\n\nTo view exception logs in Cloud Run, go to the **Metrics** tab of\nthe [service detail page](/run/docs/managing/services#details). It includes a\ntable showing the top errors for Cloud Run that\nError Reporting has detected and aggregated.\n\nFor instructions on viewing error and exception data for your application in\nthe Google Cloud console, go to\n[Viewing errors](/error-reporting/docs/viewing-errors).\n\n\u003cbr /\u003e\n\n| **Note** : If you see the message \"Set up Error Reporting\" on the **Error Reporting** page, then your Google Cloud project has no error groups to display.\n\n\u003cbr /\u003e"]]