Permalink
Browse files

Always show exception class that was raised

  • Loading branch information...
1 parent 7547f49 commit 628dbad492a65dc2d018f1816d0227d1bc8a9671 @amarshall committed Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pryrc
View
2 pryrc
@@ -16,7 +16,7 @@ Pry.config.prompt = [
]
Pry.config.exception_handler = proc do |output, exception, _|
- output.puts "#{exception}"
+ output.puts exception.inspect
exception.backtrace.each do |line|
output.puts " #{line}"
end

0 comments on commit 628dbad

Please sign in to comment.