/[RomCheater]/trunk/RomCheater.PluginFramework/Core/PluginLoader.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/PluginLoader.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by william, Wed May 9 18:13:51 2012 UTC revision 86 by william, Wed May 9 19:41:06 2012 UTC
# Line 44  namespace RomCheater.PluginFramework.Cor Line 44  namespace RomCheater.PluginFramework.Cor
44    
45                  logger.Info.WriteLine("Plugins Loaded.");                  logger.Info.WriteLine("Plugins Loaded.");
46              }              }
47                catch (ReflectionTypeLoadException ex)
48                {
49                    StringBuilder builder = new StringBuilder();
50                    if (ex.LoaderExceptions.Count() > 0)
51                    {
52                        foreach (Exception c in ex.LoaderExceptions)
53                        {
54                            builder.AppendLine(c.ToString());
55                        }
56                    }
57                    logger.Error.WriteLine("Failed to load one or more plugins{0}Possible Reason:{0}{1}", System.Environment.NewLine, builder.ToString());
58                }
59              catch (Exception ex)              catch (Exception ex)
60              {              {
61                  logger.Error.WriteLine("Failed to load one or more plugins{0}Possible Reason:{0}{1}", System.Environment.NewLine, ex.ToString());                  logger.Error.WriteLine("Failed to load one or more plugins{0}Possible Reason:{0}{1}", System.Environment.NewLine, ex.ToString());

Legend:
Removed from v.85  
changed lines
  Added in v.86

  ViewVC Help
Powered by ViewVC 1.1.22