Some questions on ruby - is any variable in ruby can control trace back limit?

When click CTRL-C when ruby script running, it always give trace back.

Is there way to make no trace back?

I know setting below can solve this issue, but I want to know whether
any variable in ruby(maybe somthing like backtrace_display_limit = 0)
can get same function?

rescue Interrupt
warn “\nAborted!”
exit 1

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs