lib/require_pattern.rb in require_pattern-1.1.1 vs lib/require_pattern.rb in require_pattern-1.1.2

- old
+ new

@@ -21,10 +21,11 @@ break loaded elsif remaining.nil? STDERR.puts ReqPat::Coloring.red("\nSome files failed:") require_map.each { |file, e| msg = ReqPat::Coloring.red(" #{file}: ") + - ReqPat::Coloring.yellow("#{e.backtrace[0]} #{e}") + ReqPat::Coloring.yellow("#{e.backtrace[0]} #{e}") + + ReqPat::Coloring.yellow("\t"+e.backtrace[1..-1].join("\n\t")) STDERR.puts msg } STDERR.puts raise LoadError, "One or more files failed to load. See STDERR output for details." end