Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 6b3ec13

Browse files
committed
Correct the comment
1 parent 37ae901 commit 6b3ec13

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/client-side-metrics/exporter.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,8 @@ export class CloudMonitoringExporter extends MetricExporter {
318318
// The resultCallback typically accepts a value equal to {code: x}
319319
// for some value x along with other info. When the code is equal to 0
320320
// then the operation completed successfully. When the code is not equal
321-
// to 0 then the operation failed. Open telemetry logs errors to the
322-
// console when the resultCallback passes in non-zero code values and
323-
// logs nothing when the code is 0.
321+
// to 0 then the operation failed. The resultCallback will not log
322+
// anything to the console whether the error code was 0 or not.
324323
resultCallback({code: 0});
325324
} catch (error) {
326325
resultCallback(error as ServiceError);

0 commit comments

Comments
 (0)