Make pry backtrace less confusing with error.backtrace.

Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
This commit is contained in:
Jordon Bedwell 2011-12-06 11:34:03 -06:00
parent 9a55514aa2
commit a3232ddef7
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class Pry
target.pry target.pry
end end
command "backtrace", "Show the backtrace for the Pry session" do command "pry-backtrace", "Show the backtrace for the Pry session" do
output.puts "\n#{text.bold('Backtrace:')}\n--\n" output.puts "\n#{text.bold('Backtrace:')}\n--\n"
output.puts _pry_.backtrace output.puts _pry_.backtrace
end end