[longomatch] Set back the exceptions catcher



commit 13a5417b1eeba3486604988fd4a936edec0b2487
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Dec 14 22:29:56 2011 +0100

    Set back the exceptions catcher

 LongoMatch/Main.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch/Main.cs b/LongoMatch/Main.cs
index 4996721..e81a94d 100644
--- a/LongoMatch/Main.cs
+++ b/LongoMatch/Main.cs
@@ -54,7 +54,7 @@ namespace LongoMatch
 			GLib.ExceptionManager.UnhandledException += new GLib.UnhandledExceptionHandler(OnException);
 
 
-			//try {
+			try {
 				Core.Init();
 				AddinsManager manager = new AddinsManager(Path.Combine(Config.HomeDir(), "addins"));
 				manager.LoadConfigModifierAddins();
@@ -62,9 +62,9 @@ namespace LongoMatch
 			    IMultimediaToolkit multimediaToolkit = new MultimediaFactory();
 				Core.Start(guiToolkit, multimediaToolkit);
 				Application.Run();
-			//} catch(Exception ex) {
-			//	ProcessExecutionError(ex);
-			//}
+			} catch(Exception ex) {
+				ProcessExecutionError(ex);
+			}
 		}
 
 		private static void OnException(GLib.UnhandledExceptionArgs args) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]