diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 421a257a..0bcacd8f 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -14,7 +14,7 @@ namespace DepotDownloader static class ContentDownloader { const string DEFAULT_DIR = "depots"; - const int STORAGE_RETRY_COUNT = 500; + const int MAX_STORAGE_RETRIES = 500; static Steam3Session steam3; @@ -181,8 +181,10 @@ namespace DepotDownloader csClient.Disconnect(); retryCount++; - if (retryCount > STORAGE_RETRY_COUNT) + if ( retryCount > MAX_STORAGE_RETRIES ) { + Console.WriteLine( "Unable to open storage: " + ex.Message ); + if (steam3 != null) steam3.Disconnect(); return;