lib/bundler/friendly_errors.rb in bundler-1.9.2 vs lib/bundler/friendly_errors.rb in bundler-1.9.3
- old
+ new
@@ -68,9 +68,9 @@
EOS
end
def self.issues_url(exception)
'https://github.com/bundler/bundler/search?q=' \
- "#{CGI.escape(exception.message)}&type=Issues"
+ "#{CGI.escape(exception.message.lines.first.chomp)}&type=Issues"
end
end