aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 0b1ba77..85d9d59 100644
--- a/global-functions
+++ b/global-functions
@@ -562,6 +562,8 @@
:global EmailGeneralTo;
:global EmailGeneralCc;
+ :global LogPrintExit;
+
:if ([ :len $EmailGeneralTo ] = 0) do={
:return false;
}
@@ -575,7 +577,7 @@
subject=("[" . $Identity . "] " . $Subject) \
body=($Message . $Signature) file=$Attach;
} on-error={
- :log warning "Failed sending notification mail!";
+ $LogPrintExit warning ("Failed sending notification mail!") false;
}
}