Project

General

Profile

Actions

Bug #9695

open

Clearer template errors should be given during build review

Added by Martin Hovmöller about 9 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When putting a machine in build mode, if there is an error in the template the error message is very vague, like "Failure parsing <template name>: undefined method `<' for nil:NilClass.".
This makes debugging very hard. The error message should at least contain the line number for the line causing the error.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #746: Generate all the Host template when click on Build to avoid errors during installationClosedShlomi Zadok03/15/2011Actions
Related to Foreman - Bug #18345: Better rescue from syntax error in template renderingClosedMarek Hulán02/01/2017Actions
Actions

Also available in: Atom PDF