File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ while ($runCount -le $NumberOfIterations)
131131 # Start Canary
132132 #
133133 $CanaryLogFileName = [IO.Path ]::GetFileNameWithoutExtension($tmpLogname ) + " -$runCount " + [IO.Path ]::GetExtension($tmpLogname )
134- $CanaryLogFile = $CanaryLogPath + " \ $CanaryLogFileName "
134+ $CanaryLogFile = Join-Path - Path $CanaryLogPath - ChildPath $CanaryLogFileName
135135
136136 Start-Scenario - Name ' Canary' - Type ' Basic' - LogFilename $CanaryLogFile - ContinueOnFailure $ContinueOnFailure
137137
@@ -205,7 +205,7 @@ while ($runCount -le $NumberOfIterations)
205205 catch
206206 {
207207 Remove-Item - Path $CanaryCustomImageFolder - Force - Recurse
208- throw [System.Exception ]" Failed to upload the linux image to PIR. `n $_ .Exception.Message"
208+ throw [System.Exception ]" Failed to upload the linux image to PIR. `n $ ( $ _.Exception.Message ) "
209209 }
210210 }
211211
You can’t perform that action at this time.
0 commit comments