Publish preview version #42

Merged
OCram85 merged 25 commits from dev into master 2019-04-04 17:02:18 +02:00
1 changed files with 8 additions and 8 deletions
Showing only changes of commit 4ea71a2bba - Show all commits

View File

@ -97,14 +97,14 @@ function Import-CSCertificate {
}
}
catch {
$_.Exception.Message | Write-Error
$ErrorParams = @{
ErrorAction = 'Stop'
Exception = [System.Exception]::new(
'Could not read or add the pfx certificate!'
)
}
Write-Error @ErrorParams
$_.Exception.Message | Write-Error -ErrorAction Stop
#$ErrorParams = @{
# ErrorAction = 'Stop'
# Exception = [System.Exception]::new(
# 'Could not read or add the pfx certificate!'
# )
#}
#Write-Error @ErrorParams
}
}
end {