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/EngineTask.cs

    r17180 r17445  
    8080
    8181    public override async void Start() {
    82       Item.Prepare(initialOperation);
    83       await Item.StartAsync();
     82      try {
     83        Item.Prepare(initialOperation);
     84        await Item.StartAsync();
     85      } catch (Exception e) {
     86        engine_ExceptionOccurred(Item, new EventArgs<Exception>(e));
     87      }
    8488    }
    8589
Note: See TracChangeset for help on using the changeset viewer.