aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Monitoring/JobEngine.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Framework/Monitoring/JobEngine.cs b/OpenSim/Framework/Monitoring/JobEngine.cs
index ea2203f..7dcce6a 100644
--- a/OpenSim/Framework/Monitoring/JobEngine.cs
+++ b/OpenSim/Framework/Monitoring/JobEngine.cs
@@ -246,7 +246,16 @@ namespace OpenSim.Framework.Monitoring
246 if (LogLevel >= 1) 246 if (LogLevel >= 1)
247 m_log.DebugFormat("[JOB ENGINE]: Processing job {0}", m_currentJob.Name); 247 m_log.DebugFormat("[JOB ENGINE]: Processing job {0}", m_currentJob.Name);
248 248
249 m_currentJob.Callback.Invoke(m_currentJob.O); 249 try
250 {
251 m_currentJob.Callback.Invoke(m_currentJob.O);
252 }
253 catch (Exception e)
254 {
255 m_log.Error(
256 string.Format(
257 "[JOB ENGINE]: Job {0} failed, continuing. Exception ", m_currentJob.Name), e);
258 }
250 259
251 if (LogLevel >= 1) 260 if (LogLevel >= 1)
252 m_log.DebugFormat("[JOB ENGINE]: Processed job {0}", m_currentJob.Name); 261 m_log.DebugFormat("[JOB ENGINE]: Processed job {0}", m_currentJob.Name);