Prevent exceptions from being raised by checkpoint

This commit is contained in:
Chris Roberts 2018-03-20 16:00:14 -07:00
parent e5b6271e85
commit 1dafc6b82e
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ module Vagrant
if enabled && @checkpoint_thread.nil?
logger.debug("starting plugin check")
@checkpoint_thread = Thread.new do
Thread.current.abort_on_exception = false
Thread.current.report_on_exception = false
begin
Thread.current[:result] = Checkpoint.check(
product: "vagrant",