mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request +6879 from c9/lk
[Trivial] Cosmetic changes
This commit is contained in:
commit
2beb3c6441
@ -170,7 +170,7 @@ define(function(require, exports, module) {
|
||||
// just take the first server that doesn't return an error
|
||||
(function tryNext(i) {
|
||||
if (i >= servers.length) {
|
||||
metrics.increment("connect_failed_all", 1, true);
|
||||
metrics.increment("vfs.failed.connect_all", 1, true);
|
||||
return callback(new Error("Disconnected: Could not reach your workspace. Please try again later."));
|
||||
}
|
||||
|
||||
|
||||
@ -206,7 +206,7 @@ define(function(require, exports, module) {
|
||||
|
||||
vfsEndpoint.get(protocolVersion, function(err, urls) {
|
||||
if (err) {
|
||||
metrics.increment("connect_failed", 1, true);
|
||||
metrics.increment("vfs.failed.connect", 1, true);
|
||||
if (!showErrorTimer) {
|
||||
showErrorTimer = setTimeout(function() {
|
||||
showVfsError(showErrorTimerMessage);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user