Webserver: Show message if there is a problem with init.

This commit is contained in:
Florian Küpper committed 2014-08-02 18:35:22 +02:00
1 parent f43116073d
commit f837c329ec
1 file changed
+2
@@ -20,6 +20,7 @@ using System.Diagnostics;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Net;
using System.Windows.Forms;
namespace ServerLib
{
@@ -159,6 +160,7 @@ namespace ServerLib
catch (CommunicationException)
{
_Host.Abort();
MessageBox.Show("Problem while initialization of webserver. You may use a different port (Change in config.xml)");
}
}
else