Disable report on exception by default

Fixes #9727
This commit is contained in:
Chris Roberts 2018-04-26 14:58:05 -07:00
parent a26d861ae6
commit e743fe050e
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@
# initializing which have historically resulted in stack traces.
Signal.trap("INT") { abort }
# Disable exception reporting by default if available
if Thread.respond_to?(:report_on_exception=)
Thread.report_on_exception = false
end
# Split arguments by "--" if its there, we'll recombine them later
argv = ARGV.dup
argv_extra = []