From 1d8bc5dd7d36da0167e572762b6f20db20289012 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 15 Feb 2012 20:03:10 +0000 Subject: WinGui: Fix a couple of trival gui bugs and force all exceptions to be handled by the built-in exception handler rather than the .NET one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4449 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs index e9342ca4e..ce3a756ed 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs @@ -210,6 +210,10 @@ namespace HandBrake.ApplicationServices.Services { this.QueueManager.LastProcessedJob.Status = QueueItemStatus.Error; this.Pause(); + if (e.Exception.GetType() == typeof(GeneralApplicationException)) + { + throw e.Exception; + } throw new GeneralApplicationException(e.ErrorInformation, e.Exception.Message, e.Exception); } -- cgit v1.2.3