diff options
-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."); } } |