Merge pull request #9738 from chrisroberts/e-trace-report

Disable report on exception by default
This commit is contained in:
Chris Roberts 2018-04-27 17:01:56 -07:00 committed by GitHub
commit f2f5239973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = []