changeset 245:3aacaa74587f

Fixes #425: FileLoadFailure when starting WarFoundry * Change commit back so we only have the logging we need - issue appeared to be with Build system, change gave it a kick
author IBBoard <dev@ibboard.co.uk>
date Sun, 26 Aug 2012 11:26:50 +0100
parents c50dc3c4136e
children b57a7cf844f8
files FrmMain.cs
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/FrmMain.cs	Sun Aug 26 11:19:32 2012 +0100
+++ b/FrmMain.cs	Sun Aug 26 11:26:50 2012 +0100
@@ -660,15 +660,6 @@
 		{
 			foreach (FileLoadFailure failure in failures)
 			{
-				log.DebugFormat("Got failure of type {0}", failure.FailedFile.GetType().Name);
-				foreach (MethodInfo method in failure.FailedFile.GetType().GetMethods())
-				{
-					log.DebugFormat("    Got method {0} {1} {2}", method.IsPrivate ? "private" : "public",  method.ReturnType.Name, method.Name);
-				}
-				foreach (PropertyInfo property in failure.FailedFile.GetType().GetProperties())
-				{
-					log.DebugFormat("    Got property {0} {1}", property.PropertyType.Name, property.Name);
-				}
 				log.WarnFormat("Failed to load {0}: {1}", failure.FailedFile.Name, failure.Message);
 			}
 		}