Don't warn, safari seems to block the request

pull/6544/head
Chocobozzz 2024-08-08 13:35:17 +02:00
parent 691385517c
commit 1ed2007190
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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.warn('Cannot send metrics to the server.', err))
.catch(err => logger.info('Cannot send metrics to the server.', err))
}, this.options_.metricsInterval())
}