Mercurial > repos > IBDev-IBBoard.WarFoundry.API
diff api/WarFoundryLoader.cs @ 20:b7c93a5821cd
* Remove unnecessary project dependency
* Change logging on invalid file exception on load
* Add logging when a non-native loader is asked to load a file it doesn't understand
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 01 Mar 2009 15:00:03 +0000 |
parents | 57451981545c |
children | f9846f896df3 |
line wrap: on
line diff
--- a/api/WarFoundryLoader.cs Sat Feb 21 14:39:15 2009 +0000 +++ b/api/WarFoundryLoader.cs Sun Mar 01 15:00:03 2009 +0000 @@ -359,7 +359,7 @@ } catch (InvalidFileException ex) { - LogNotifier.Error(GetType(), file.FullName+" failed to load: "+ex.Message); + LogNotifier.Error(GetType(), file.FullName+" failed to load", ex); } if (objs!=null) @@ -368,7 +368,6 @@ } else { - LogNotifier.Debug(GetType(), "Could not load "+file.FullName); objs = new List<IWarFoundryObject>(); }