mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Update call to logger to pass exception
--HG-- branch : dev
This commit is contained in:
@@ -3,7 +3,6 @@ using System.CodeDom;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Orchard.Environment.Extensions.Loaders;
|
||||
using Orchard.FileSystems.Dependencies;
|
||||
using Orchard.FileSystems.VirtualPath;
|
||||
|
@@ -45,7 +45,7 @@ namespace Orchard.Environment {
|
||||
_appDataFolder.CreateFile(fileName, "Host Restart");
|
||||
}
|
||||
catch(Exception e) {
|
||||
Logger.Warning("Error updateting file '{0}': {1}", fileName, e.Message);
|
||||
Logger.Warning(e, "Error updating file '{0}'", fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user