@agimon-ai/po-log 0.0.0-alpha.87 → 0.0.0-alpha.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -405,7 +405,9 @@ function createServerTelemetry(options = {}) {
|
|
|
405
405
|
const diagnose = () => {
|
|
406
406
|
try {
|
|
407
407
|
options.onDiagnostic?.("Telemetry operation failed");
|
|
408
|
-
} catch {
|
|
408
|
+
} catch (error) {
|
|
409
|
+
console.warn(`po-log telemetry diagnostic failed (${error instanceof Error ? error.name : typeof error})`);
|
|
410
|
+
}
|
|
409
411
|
};
|
|
410
412
|
const enqueue = (operation) => {
|
|
411
413
|
const pending = queue.then(operation);
|