aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-01-26 21:04:59 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-01-26 21:04:59 +0100
commitb0d3e3d5f4775883554823ec26df36b00e4a5544 (patch)
treef434ebaf1a4287109dad2c9bdb3c5574759ee059 /global-functions
parent5c3585cd98dc18cee81b74a8040119bc7b5f031b (diff)
global-functions: $LogPrintExit2: always print the message...
... even on error. Not sure why and when this broke.
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions10
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.");
}
}