Commits

Christian Specht  committed 57d5fb3

always display intro, even if backup fails afterwards

  • Participants
  • Parent commits c3b8e07

Comments (0)

Files changed (1)

File src/BitbucketBackup/Program.cs

             try
             {
                 var config = new Config();
+
+                Console.WriteLine(Resources.IntroHeadline);
+                Console.WriteLine();
+                Console.WriteLine(Resources.IntroUser, config.UserName);
+                Console.WriteLine(Resources.IntroFolder, config.BackupFolder);
+                Console.WriteLine();
+                Thread.Sleep(sleepTime);
+
                 var request = new BitbucketRequest(config);
 
                 string resource = "users/" + config.UserName;
                     return;
                 }
 
-                Console.WriteLine(Resources.IntroHeadline);
-                Console.WriteLine();
-                Console.WriteLine(Resources.IntroUser, config.UserName);
-                Console.WriteLine(Resources.IntroFolder, config.BackupFolder);
-                Console.WriteLine();
-                Thread.Sleep(sleepTime);
-
                 var json = JObject.Parse(response);
                 var repos =
                     from r in json["repositories"].Children()