diff options
-rw-r--r-- | global-functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/global-functions b/global-functions index df2cc54..47d70f1 100644 --- a/global-functions +++ b/global-functions @@ -840,7 +840,11 @@ :if ([ :len $ChangeLogCode ] > 0) do={ :if ([ $ValidateSyntax $ChangeLogCode ] = true) do={ - [ :parse $ChangeLogCode ]; + :do { + [ :parse $ChangeLogCode ]; + } on-error={ + $LogPrintExit2 warning $0 ("The changelog failed to run!") false; + } } else={ $LogPrintExit2 warning $0 ("The changelog failed syntax validation!") false; } |