diff options
author | Christian Hesse <mail@eworm.de> | 2023-01-26 21:04:59 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-01-26 21:04:59 +0100 |
commit | b0d3e3d5f4775883554823ec26df36b00e4a5544 (patch) | |
tree | f434ebaf1a4287109dad2c9bdb3c5574759ee059 | |
parent | 5c3585cd98dc18cee81b74a8040119bc7b5f031b (diff) |
global-functions: $LogPrintExit2: always print the message...
... even on error. Not sure why and when this broke.
-rw-r--r-- | global-functions | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/global-functions b/global-functions index 58c025e..dfb76f7 100644 --- a/global-functions +++ b/global-functions @@ -531,11 +531,11 @@ } :if ($Severity != "debug" || $Debug = true) do={ - :if ($Exit = "true") do={ - :error ([ $PrintSeverity $Severity ] . ": " . $Message); - } else={ - :put ([ $PrintSeverity $Severity ] . ": " . $Message); - } + :put ([ $PrintSeverity $Severity ] . ": " . $Message); + } + + :if ($Exit = "true") do={ + :error ("Hard error to exit."); } } |