From 713e489de4a133355a96654d4e933f085b5d5f92 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 May 2024 10:41:33 +0200 Subject: [PATCH] Decrease send metrics client log level --- client/src/assets/player/shared/metrics/metrics-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/assets/player/shared/metrics/metrics-plugin.ts b/client/src/assets/player/shared/metrics/metrics-plugin.ts index 56c56c341..7b58cb77d 100644 --- a/client/src/assets/player/shared/metrics/metrics-plugin.ts +++ b/client/src/assets/player/shared/metrics/metrics-plugin.ts @@ -131,7 +131,7 @@ class MetricsPlugin extends Plugin { const headers = new Headers({ 'Content-type': 'application/json; charset=UTF-8' }) return fetch(this.options_.metricsUrl(), { method: 'POST', body: JSON.stringify(body), headers }) - .catch(err => logger.error('Cannot send metrics to the server.', err)) + .catch(err => logger.warn('Cannot send metrics to the server.', err)) }, this.options_.metricsInterval()) }