ReportAPIUpdaterCrash() 개인적인 정적인 메소드

private static ReportAPIUpdaterCrash ( IEnumerable errorOutput ) : void
errorOutput IEnumerable
리턴 void
예제 #1
0
 private static void HandleUpdaterReturnValue(ManagedProgram program)
 {
     if (program.ExitCode == 0)
     {
         APIUpdaterHelper.UpdateFilesInVCIfNeeded();
         return;
     }
     ScriptUpdatingManager.ReportExpectedUpdateFailure();
     if (program.ExitCode > 0)
     {
         APIUpdaterHelper.ReportAPIUpdaterFailure(program.GetErrorOutput());
     }
     else
     {
         APIUpdaterHelper.ReportAPIUpdaterCrash(program.GetErrorOutput());
     }
 }
예제 #2
0
 private static void HandleUpdaterReturnValue(ManagedProgram program)
 {
     if (program.ExitCode == 0)
     {
         Console.WriteLine(string.Join(Environment.NewLine, program.GetErrorOutput()));
         APIUpdaterHelper.UpdateFilesInVCIfNeeded();
     }
     else
     {
         ScriptUpdatingManager.ReportExpectedUpdateFailure();
         if (program.ExitCode > 0)
         {
             APIUpdaterHelper.ReportAPIUpdaterFailure(program.GetErrorOutput());
         }
         else
         {
             APIUpdaterHelper.ReportAPIUpdaterCrash(program.GetErrorOutput());
         }
     }
 }