Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2983

Inconsistent error handling in invalid mustache templates

    XMLWordPrintable

    Details

      Description

      When rendering mustache templates containing unexistent/undisplayable variables, error handling is inconsistent.

      When running the attached file, the file promises fails with a

      Error rendering mustache template '(null)'
      

      error, while the string_mustache is not executed at all, with no error message (even in debug).

      It should at least display an error (as we don"t have proper error handling for vars promises).

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              amousset Alexis Mousset
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel