Index: openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl,v diff -u -r1.53 -r1.54 --- openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl 27 Jun 2015 16:23:12 -0000 1.53 +++ openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl 2 Jul 2015 19:26:11 -0000 1.54 @@ -627,7 +627,7 @@ set localized_message "The %animal% jumped across the %barrier%. About 50% of the time, he stumbled, or maybe it was %%20 %times%." set value_list { animal "frog" barrier "fence" } - puts "[format $localized_message $value_list]" + ns_log notice formatted=[format $localized_message $value_list] The output from the example is: @@ -677,7 +677,8 @@ append formated_message $local_variable($array_key) } } else { - error "Message contains a variable named '$variable_name' which doesn't exist in the caller's environment: message $localized_message" + ns_log warning "Message contains a variable named '$variable_name' which doesn't exist in the caller's environment: message $localized_message" + append formated_message "MISSING: variable '$variable_name' is not available" } } }