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.Optimization.Views/3.3/IOptimizerView.cs

    r17180 r17445  
    137137    #region Control events
    138138    protected virtual async void startButton_Click(object sender, EventArgs e) {
    139       await Content.StartAsync();
     139      try {
     140        await Content.StartAsync();
     141      } catch (Exception ex) {
     142        ErrorHandling.ShowErrorDialog(this, ex);
     143      }
    140144    }
    141145    protected virtual void pauseButton_Click(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.