Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/23/15 11:53:17 (9 years ago)
Author:
ascheibe
Message:

#2496 improved information shown in error dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs

    r12012 r13060  
    107107      } else {
    108108        if (ex is MessageSecurityException) {
    109           MessageBox.Show("A Message Security error has occured. This normally means that your user name or password is wrong.", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Error);
     109          string message =
     110            "A Message Security error has occured. This normally means that your user name or password is wrong. Detailed information: " + Environment.NewLine;
     111          message += HiveServiceLocator.Instance.GetEndpointInformation();
     112          ErrorHandling.ShowErrorDialog(this, message, ex);
    110113        } else if (ex is AnonymousUserException) {
    111114          using (HiveInformationDialog dialog = new HiveInformationDialog()) {
     
    113116          }
    114117        } else {
    115           ErrorHandling.ShowErrorDialog(this, "Refresh failed.", ex);
     118          ErrorHandling.ShowErrorDialog(this,
     119            "Refresh failed. Detailed information: " + Environment.NewLine + HiveServiceLocator.Instance.GetEndpointInformation(), ex);
    116120        }
    117121      }
Note: See TracChangeset for help on using the changeset viewer.