mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Improve getServers() logging
This commit is contained in:
parent
05caf662be
commit
087e337202
@ -97,7 +97,9 @@ define(function(require, exports, module) {
|
||||
function getVfsEndpoint(version, callback) {
|
||||
getServers(function(err, _servers) {
|
||||
if (err) {
|
||||
errorHandler.reportError(err);
|
||||
if (err.code !== "EDISCONNECT")
|
||||
errorHandler.reportError(new Error("Could not get list of VFS servers"), { cause: err });
|
||||
metrics.increment("vfs.failed.connect_getservers", 1, true);
|
||||
initDefaultServers();
|
||||
_servers = servers;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user