diff --git a/src/amber/cli/templates/template.cr b/src/amber/cli/templates/template.cr index 78c0912d5..5be4c4783 100644 --- a/src/amber/cli/templates/template.cr +++ b/src/amber/cli/templates/template.cr @@ -106,7 +106,7 @@ module Amber::CLI puts "Rendering View #{name}" View.new(name, fields).render(directory, list: true, color: true) else - raise "Template not found" + CLI.logger.error "Template not found", "Generate", :light_red end end