summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-02-15 20:03:10 +0000
committersr55 <[email protected]>2012-02-15 20:03:10 +0000
commit1d8bc5dd7d36da0167e572762b6f20db20289012 (patch)
tree20e3a5164ff24bb6d44504e587fb14dc9a92d5bd /win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs
parent4da15bcbbbd800b7af230294224f0d7248e8dd72 (diff)
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
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs4
1 files changed, 4 insertions, 0 deletions
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);
}