Skip to content

Commit

Permalink
merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Darshak Bhatti committed May 15, 2024
1 parent a9c6053 commit c73a158
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/Utilities/src/ViewModels/UtilityViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public UtilityViewModel(string exeName, IExperimentationService? experimentation
this.experimentationService = experimentationService;
this.experimentalFeature = experimentalFeature;
LaunchCommand = new RelayCommand(Launch);
_log.Information("UtilityViewModel created for Title: {Title}, exe: {ExeName}", Title, exeName);
_log.Information($"UtilityViewModel created for Title: {Title}, exe: {exeName}");
}
#nullable disable

Expand All @@ -84,13 +84,13 @@ private void Launch()
var process = Process.Start(processStartInfo);
if (process is null)
{
_log.Error("Failed to start process {ExeName}", exeName);
_log.Error($"Failed to start process {_exeName}");
throw new InvalidOperationException("Failed to start process");
}
}
catch (Exception ex)
{
_log.Error(ex, "Failed to start process {ExeName}", _exeName);
_log.Error(ex, $"Failed to start process {_exeName}");
}

TelemetryFactory.Get<DevHome.Telemetry.ITelemetry>().Log("Utilities_UtilitiesLaunchEvent", LogLevel.Critical, new UtilitiesLaunchEvent(Title, LaunchAsAdmin), null);
Expand Down

0 comments on commit c73a158

Please sign in to comment.