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 diff
     1.1 --- a/FrmMain.cs	Sun Aug 26 11:19:32 2012 +0100
     1.2 +++ b/FrmMain.cs	Sun Aug 26 11:26:50 2012 +0100
     1.3 @@ -660,15 +660,6 @@
     1.4  		{
     1.5  			foreach (FileLoadFailure failure in failures)
     1.6  			{
     1.7 -				log.DebugFormat("Got failure of type {0}", failure.FailedFile.GetType().Name);
     1.8 -				foreach (MethodInfo method in failure.FailedFile.GetType().GetMethods())
     1.9 -				{
    1.10 -					log.DebugFormat("    Got method {0} {1} {2}", method.IsPrivate ? "private" : "public",  method.ReturnType.Name, method.Name);
    1.11 -				}
    1.12 -				foreach (PropertyInfo property in failure.FailedFile.GetType().GetProperties())
    1.13 -				{
    1.14 -					log.DebugFormat("    Got property {0} {1}", property.PropertyType.Name, property.Name);
    1.15 -				}
    1.16  				log.WarnFormat("Failed to load {0}: {1}", failure.FailedFile.Name, failure.Message);
    1.17  			}
    1.18  		}