Fix for Serilog PR

This commit is contained in:
Stephan
2018-08-29 11:41:04 +02:00
parent 3e183a057e
commit 451b58ee50

View File

@@ -225,7 +225,7 @@ namespace Umbraco.Web.Install.Controllers
// executes the step
internal InstallSetupResult ExecuteStep(InstallSetupStep step, JToken instruction)
{
using (_proflog.TraceDuration<InstallApiController>("Executing installation step: '{step.Name}'.", "Step completed"))
using (_proflog.TraceDuration<InstallApiController>($"Executing installation step: '{step.Name}'.", "Step completed"))
{
var model = instruction?.ToObject(step.StepType);
var genericStepType = typeof(InstallSetupStep<>);