[VS Addin] Fix error handling on webserver startup error

We were previously clearing the output page after the error
message was printed meaning that the error was not showing
up in Visual Studio.  This error occurs if python.exe is not
found in PATH.

TEST=local testing
R=binji@chromium.org

Review URL: https://codereview.chromium.org/955443003

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1580 050acbb0-2703-11df-ab0a-9f3f633ae91d
diff --git a/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/WebServer.cs b/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/WebServer.cs
index 2d7c144..13adfb9 100644
--- a/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/WebServer.cs
+++ b/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/WebServer.cs
@@ -67,6 +67,10 @@
           httpd = Path.Combine(properties.SDKRootDirectory, "tools", "httpd.py");
       string webServerArguments = httpd + " --no_dir_check " + webServerPort;
 
+      webServerOutputPane_.Clear();
+      webServerOutputPane_.OutputString(Strings.WebServerStartMessage + "\n");
+      webServerOutputPane_.Activate();
+
       // Start the web server process.
       try
       {
@@ -88,12 +92,7 @@
       {
         webServerOutputPane_.OutputString(Strings.WebServerStartFail + "\n");
         webServerOutputPane_.OutputString("Exception: " + e.Message + "\n");
-        webServerOutputPane_.Activate();
       }
-
-      webServerOutputPane_.Clear();
-      webServerOutputPane_.OutputString(Strings.WebServerStartMessage + "\n");
-      webServerOutputPane_.Activate();
     }
 
     /// <summary>