Skip to content

Commit 93c7a50

Browse files
author
Ace Nassri
authored
fix(functions): update error reporting comments (GoogleCloudPlatform#2675)
1 parent b8d00b1 commit 93c7a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/helloworld/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ exports.helloError = (event, context, callback) => {
108108
*/
109109
exports.helloError2 = (event, context, callback) => {
110110
// [START functions_helloworld_error]
111-
// These will NOT be reported to Error Reporting
111+
// These WILL be reported to Error Reporting
112112
console.error(new Error('I failed you')); // Logging an Error object
113113
console.error('I failed you'); // Logging something other than an Error object
114114
throw 1; // Throwing something other than an Error object

0 commit comments

Comments
 (0)