From 45a9f371ac9ee2e5212e4d6fc4f1fb1b08640b32 Mon Sep 17 00:00:00 2001 From: Nick Lewis Date: Fri, 2 Jul 2010 13:35:11 -0700 Subject: [#4108] Changed missing Application constant error Changed the error message when searching for an Application constant which is undefined. --- lib/puppet/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb index 35d6024be..df46f6e8c 100644 --- a/lib/puppet/application.rb +++ b/lib/puppet/application.rb @@ -217,7 +217,7 @@ class Application begin self.const_get(name.to_s.capitalize) rescue - puts "Const '#{name.to_s.capitalize}' appears to be undefined. Unable to continue without it." + puts "Unable to find application '#{name.to_s}'." Kernel::exit(1) end end -- cgit