Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/06/11 22:40:41 (13 years ago)
Author:
ascheibe
Message:

#1233 catch exception when querying execution times

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Manager/ConfigManager.cs

    r6371 r6521  
    109109    public Dictionary<Guid, TimeSpan> GetExecutionTimeOfAllJobs() {
    110110      Dictionary<Guid, TimeSpan> prog = new Dictionary<Guid, TimeSpan>();
    111       prog = jobManager.GetExecutionTimes();
     111      try {
     112        prog = jobManager.GetExecutionTimes();
     113      }
     114      catch (Exception ex) {
     115        SlaveClientCom.Instance.ClientCom.LogMessage(string.Format("Exception was thrown while trying to get execution times: {0}", ex.Message));
     116      }
    112117      return prog;
    113118    }
Note: See TracChangeset for help on using the changeset viewer.