This repository was archived by the owner on Mar 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments