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

Commit a89b6aa

Browse files
committed
Do console warn. Not throw error
1 parent 35ed6f9 commit a89b6aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/client-side-metrics/operation-metrics-collector.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class OperationMetricsCollector {
232232
}
233233
});
234234
} else {
235-
throw new Error('Start time should always be provided');
235+
console.warn('Start time should always be provided');
236236
}
237237
});
238238
}
@@ -272,7 +272,7 @@ export class OperationMetricsCollector {
272272
(endTime - this.operationStartTime) / BigInt(1000000),
273273
);
274274
} else {
275-
throw new Error(
275+
console.warn(
276276
'ProjectId and operationStartTime should always be provided',
277277
);
278278
}

0 commit comments

Comments
 (0)