Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/09/10 01:15:16 (15 years ago)
Author:
swagner
Message:

Implemented logs of engines (#963).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.cs

    r3113 r3289  
    192192    }
    193193    private static string BuildErrorMessage(Exception ex) {
     194      string nl = Environment.NewLine;
    194195      StringBuilder sb = new StringBuilder();
    195       sb.Append("Sorry, but something went wrong!\n\n" + ex.Message + "\n\n" + ex.StackTrace);
     196      sb.Append(ex.Message + nl + ex.StackTrace);
    196197
    197198      while (ex.InnerException != null) {
    198199        ex = ex.InnerException;
    199         sb.Append("\n\n-----\n\n" + ex.Message + "\n\n" + ex.StackTrace);
     200        sb.Append(nl + "-----" + nl + ex.Message + nl + ex.StackTrace);
    200201      }
    201202      return sb.ToString();
Note: See TracChangeset for help on using the changeset viewer.