From e743fe050e09185c98d3446600f080578db9f50e Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 26 Apr 2018 14:58:05 -0700 Subject: [PATCH] Disable report on exception by default Fixes #9727 --- bin/vagrant | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/vagrant b/bin/vagrant index df3981aa7..bac678f11 100755 --- a/bin/vagrant +++ b/bin/vagrant @@ -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 = []