mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Added an exception handler to JobProcessor.
This commit is contained in:
@@ -156,9 +156,12 @@ namespace Orchard.Azure.MediaServices.Services.Jobs {
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex) {
|
||||
Logger.Error(ex, "Error during sweep.");
|
||||
}
|
||||
finally {
|
||||
Logger.Debug("Ending sweep.");
|
||||
Monitor.Exit(_sweepLock);
|
||||
Logger.Debug("Ending sweep.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user