Your client libraries can be used without needing to explicitly provide
credentials.
Cloud Run functions is configured to use Error Reporting
automatically. Unhandled exceptions will appear in Logging and
be processed by Error Reporting without needing to use a client
library.
[[["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-09-04 UTC."],[[["\u003cp\u003eCloud Run functions automatically grants the Error Reporting Writer role to your default service account.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries can be used without explicitly providing credentials in Cloud Run.\u003c/p\u003e\n"],["\u003cp\u003eError Reporting is automatically configured for Cloud Run functions.\u003c/p\u003e\n"],["\u003cp\u003eUnhandled exceptions in Cloud Run will appear in Logging and be processed by Error Reporting.\u003c/p\u003e\n"],["\u003cp\u003eLog entries containing a stack trace with a severity of ERROR or no specified log severity are automatically processed.\u003c/p\u003e\n"]]],[],null,["[Cloud Run functions](/functions/docs) grants the\n[Error Reporting Writer role](/error-reporting/docs/iam#errorreporting.writer) (`roles/errorreporting.writer`)\nto your default service account automatically.\n\nYour client libraries can be used without needing to explicitly provide\ncredentials.\n\nCloud Run functions is configured to use Error Reporting\nautomatically. Unhandled exceptions will appear in Logging and\nbe processed by Error Reporting without needing to use a client\nlibrary.\n| **Note:** Log entries are processed automatically if they contain a stack trace and they specify either no log severity or a log severity of at least `ERROR`, without needing to use a client library."]]