Skip to content
Snippets Groups Projects
Commit 5965a0c4 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Set ErrorActionPreference to "Stop".

This is required to correctly propagate exceptions from function calls.
Otherwise every call has to specify the "-EA" flag explicitly.

Refers to #28
parent 2dd12bc6
No related branches found
No related tags found
No related merge requests found
......@@ -473,6 +473,7 @@ function Log-Debug([string]$Message) {
################################################################################
$ErrorActionPreference = "Stop"
try {
. $UpdaterSettings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment