pull/85/head
Lennart Kats 2015-04-14 11:14:06 +02:00
rodzic 3b698504c2
commit 0825d4b887
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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."));
}

Wyświetl plik

@ -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);