diff --git a/lib/WebGUI/Asset/Template.pm b/lib/WebGUI/Asset/Template.pm index 0d98a4fa1..d21404f9e 100644 --- a/lib/WebGUI/Asset/Template.pm +++ b/lib/WebGUI/Asset/Template.pm @@ -324,6 +324,9 @@ A hash reference containing template variables and loops. Automatically includes =cut +# TODO: Have this throw an error so we can catch it and print more information +# about the template that has the error. Finding an "ERROR: Error in template" +# in the error log is not very helpful... sub process { my $self = shift; my $vars = shift; diff --git a/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm b/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm index 0d4c0f258..ba877c1b7 100755 --- a/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm +++ b/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm @@ -68,6 +68,9 @@ A hash reference containing template variables and loops. =cut +# TODO: Have this throw an error so we can catch it and print more information +# about the template that has the error. Finding an "ERROR: Error in template" +# in the error log is not very helpful... sub process { my $class = shift; my $template = shift; diff --git a/lib/WebGUI/Asset/Template/TemplateToolkit.pm b/lib/WebGUI/Asset/Template/TemplateToolkit.pm index aa1b7c83c..db4d97bf0 100755 --- a/lib/WebGUI/Asset/Template/TemplateToolkit.pm +++ b/lib/WebGUI/Asset/Template/TemplateToolkit.pm @@ -67,6 +67,9 @@ A hash reference containing template variables and loops. =cut +# TODO: Have this throw an error so we can catch it and print more information +# about the template that has the error. Finding an "ERROR: Error in template" +# in the error log is not very helpful... sub process { my $self = shift; my $template = shift;