private static void WriteStartupFailureException(StringBuilder sb, StartupFailureException exception) { sb.AppendFormat("StartupFailureException: {0}\r\n", exception.Message); sb.AppendLine(exception.Log); if (exception.Data.Count > 0) { WriteExceptionData(sb, exception); } if (exception.InnerException != null) { WriteInnerException(sb, exception.InnerException); } }
private static void WriteStartupFailureException(StringBuilder sb, StartupFailureException exception) { sb.AppendFormat("StartupFailureException: {0}\r\n", exception.Message); sb.AppendLine(exception.Log); if (exception.Data.Count > 0) WriteExceptionData(sb, exception); if (exception.InnerException != null) WriteInnerException(sb, exception.InnerException); }