Log text change. Change try place in the code to cover more.

This commit is contained in:
mahsaro
2015-08-04 22:02:10 +01:00
parent 14ddaeb713
commit e53f29a515

View File

@@ -37,8 +37,9 @@ namespace Orchard.Alias.Recipes.Executors {
foreach (var aliasElement in context.RecipeStep.Step.Elements()) {
var aliasPath = aliasElement.Attribute("Path").Value;
Logger.Information("Processing alias '{0}'.", aliasPath);
Logger.Information("Importing alias '{0}'.", aliasPath);
try {
var rvd = new RouteValueDictionary();
var routeValuesElement = aliasElement.Descendants("RouteValues").FirstOrDefault();
@@ -49,7 +50,7 @@ namespace Orchard.Alias.Recipes.Executors {
}
}
try {
_aliasService.Set(aliasPath, rvd, "Custom", false);
}