From 59d91bb501c7d53568c3ec101fca6fd216a7ce81 Mon Sep 17 00:00:00 2001 From: RKrom Date: Mon, 19 Nov 2012 10:41:56 +0000 Subject: [PATCH] Make sure all exceptions in the thread are logged! git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2295 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotPlugin/Controls/PleaseWaitForm.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GreenshotPlugin/Controls/PleaseWaitForm.cs b/GreenshotPlugin/Controls/PleaseWaitForm.cs index e962c7e0f..65a3f0450 100644 --- a/GreenshotPlugin/Controls/PleaseWaitForm.cs +++ b/GreenshotPlugin/Controls/PleaseWaitForm.cs @@ -77,6 +77,7 @@ namespace GreenshotPlugin.Controls { try { waitDelegate.Invoke(); } catch (Exception ex) { + LOG.Error("invoke error:", ex); threadException = ex; } })