[longomatch] Show dialog with rendering errors



commit 88c23b22ad767436b83d9c8a4c8ee0488cc0979d
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Jan 19 17:31:33 2013 +0100

    Show dialog with rendering errors

 .../Services/RenderingJobsManager.cs               |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Services/Services/RenderingJobsManager.cs b/LongoMatch.Services/Services/RenderingJobsManager.cs
index f1a0630..7ec4620 100644
--- a/LongoMatch.Services/Services/RenderingJobsManager.cs
+++ b/LongoMatch.Services/Services/RenderingJobsManager.cs
@@ -210,9 +210,11 @@ namespace LongoMatch.Services
 				videoEditor.Start();
 			}
 			catch(Exception ex) {
-				Log.Exception(ex);
-				Log.Error("Error redering job: ", currentJob.Name);
+				videoEditor.Cancel();
 				currentJob.State = JobState.Error;
+				Log.Exception(ex);
+				Log.Error("Error rendering job: ", currentJob.Name);
+				guiToolkit.ErrorMessage (Catalog.GetString("Error rendering job: ") + ex.Message);
 			}
 		}
 		



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