mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#19767: Logging migration exceptions
Work Item: 19767 --HG-- branch : 1.x
This commit is contained in:
@@ -129,7 +129,8 @@ namespace Orchard.Data.Migration {
|
||||
|
||||
_transactionManager.RequireNew();
|
||||
}
|
||||
catch {
|
||||
catch(Exception e) {
|
||||
Logger.Error(e, "Error while running migration version {0} for {1}", current, feature);
|
||||
_transactionManager.Cancel();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user