# File lib/rake/application.rb, line 144 144: def display_error_message(ex) 145: $stderr.puts "#{name} aborted!" 146: $stderr.puts ex.message 147: if options.trace 148: $stderr.puts ex.backtrace.join("\n") 149: else 150: $stderr.puts rakefile_location(ex.backtrace) 151: end 152: $stderr.puts "Tasks: #{ex.chain}" if has_chain?(ex) 153: $stderr.puts "(See full trace by running task with --trace)" unless options.trace 154: end