Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/24/11 16:15:23 (13 years ago)
Author:
ascheibe
Message:

#1233 slave ui now receives status information and displays it in doughnut chart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveItem.cs

    r5795 r5826  
    6262
    6363    public void Open() {
    64       pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(this, "SlaveCommunicationServiceEndpoint");
    65       RegisterEvents();
     64      try {
     65        pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(this, "SlaveCommunicationServiceEndpoint");
     66        RegisterEvents();
     67      }
     68      catch (Exception ex) {
     69        OnMessageLogged("Error establishing connection to Core. Are you missing a configuration file?\n" + ex.ToString());
     70      }
    6671    }
    6772
     
    7277        return true;
    7378      }
    74       catch (Exception e) {
    75         OnMessageLogged("Couldn't connect to Slave core. Is it possible that the Slave Core isn't running?\nException is: " + e.ToString());
     79      catch (Exception) {
     80        OnMessageLogged("Couldn't connect to Slave core. Is it possible that the Slave Core isn't running?\n");
    7681        return false;
    7782      }
Note: See TracChangeset for help on using the changeset viewer.