module Cucumber::Formatter::Console
def print_exception(e, status, indent)
def print_exception(e, status, indent) message = "#{e.message} (#{e.class})" if ENV['CUCUMBER_TRUNCATE_OUTPUT'] message = linebreaks(message, ENV['CUCUMBER_TRUNCATE_OUTPUT'].to_i) end string = "#{message}\n#{e.backtrace.join("\n")}".indent(indent) @io.puts(format_string(string, status)) end