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

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

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

--- trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs	2012/05/28 09:37:16	177
+++ trunk/RomCheater.PluginFramework/Core/ConfigPlugin.cs	2012/06/05 11:38:32	300
@@ -1,5 +1,5 @@
 //#define DISABLE_VERBOSE_LOGGING_FOR_PERFORMANCE_BOOST // when defined will disable verbose logging for performance speed-up
-#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
+//#define DISALLOW_VERBOSE_LOGGING // when defined will disallow verbose logging for performance reasons
 #define ALLOW_SYSTEM_PROCESSES_TO_BE_INLUCDED // when defined system processes will be included in process list
 using System;
 using System.Collections.Generic;
@@ -71,7 +71,7 @@
                         proc_list.Add(container);
                     }
                     catch (FileNotFoundException) { }
-                    catch (Exception)
+                    catch (Exception ex)
                     {
                         //throw;
                         #if !DISALLOW_VERBOSE_LOGGING
@@ -90,7 +90,7 @@
                     }                   
                     //continue;
                 }
-                catch (Exception)
+                catch (Exception ex)
                 {
                     #if !DISALLOW_VERBOSE_LOGGING
                     logger.VerboseError.WriteLine("    not adding process {0} because it thew an exception [{1}]", proc_name, ex.ToString());

 

  ViewVC Help
Powered by ViewVC 1.1.22