Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/20 13:50:24 (4 years ago)
Author:
jkarder
Message:

#3060: catch unhandled exceptions thrown by IOptimizer.StartAsync()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs

    r17180 r17445  
    101101        OnTaskStopped();
    102102      } else {
    103         await Item.StartAsync();
     103        try {
     104          await Item.StartAsync();
     105        } catch (Exception e) {
     106          optimizer_ExceptionOccurred(Item, new EventArgs<Exception>(e));
     107        }
    104108      }
    105109    }
Note: See TracChangeset for help on using the changeset viewer.