mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 09:20:26 +03:00
Decrease send metrics client log level
This commit is contained in:
parent
72d8ae7edd
commit
713e489de4
@ -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())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user