Added logging statement in case of non-fatal exception.

This commit is contained in:
Sipke Schoorstra
2015-08-10 17:43:21 +01:00
parent 97fcfd4e24
commit 92c6d5fd80

View File

@@ -105,6 +105,7 @@ namespace Orchard.TaskLease.Services {
}
catch (Exception ex) {
if (ex.IsFatal()) throw;
Logger.Error(ex, "An non-fatal error occurred while trying to dispose the database lock.");
}
}