Make pry backtrace less confusing with error.backtrace.
Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
This commit is contained in:
parent
9a55514aa2
commit
a3232ddef7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue