Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: pry/pry
...
head fork: pry/pry
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/pry/pry_class.rb
  2. +1 −1  spec/pry_spec.rb
View
2  lib/pry/pry_class.rb
@@ -69,7 +69,7 @@ def self.load_file_at_toplevel(file_name)
begin
toplevel_binding.eval(File.read(full_name), full_name) if File.exists?(full_name)
rescue RescuableException => e
- puts "Error loading #{file_name}: #{e}"
+ puts "Error loading #{file_name}: #{e}\n#{e.backtrace.first}"
end
end
View
2  spec/pry_spec.rb
@@ -390,7 +390,7 @@ class Hello
end
it "should output an error" do
- @doing_it.call.should ==
+ @doing_it.call.split("\n").first.should ==
"Error loading spec/fixtures/testrcbad: messin with ya"
end
end

No commit comments for this range

Something went wrong with that request. Please try again.