Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
Exception#detailed_message
to show backtrace (#1952)
Before: ``` Use Ctrl-C to stop 2023-10-13 18:49:17 - NoMethodError - undefined method `time' for 1:Integer: test.rb:4:in `block in <main>' /home/mame/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/sinatra-3.1.0/lib/sinatra/base.rb:1775:in `call' ``` After: ``` Use Ctrl-C to stop 2023-10-13 18:49:17 - NoMethodError - undefined method `time' for 1:Integer: 1.time {} ^^^^^ Did you mean? times test.rb:4:in `block in <main>' /home/mame/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/sinatra-3.1.0/lib/sinatra/base.rb:1775:in `call' ``` Co-authored-by: Patrik Ragnarsson <patrik@starkast.net>
- Loading branch information