Merge pull request #9645 from chrisroberts/e-checkpoint-exceptions
Prevent exceptions from being raised by checkpoint
This commit is contained in:
commit
dd438100b8
|
@ -74,6 +74,10 @@ module Vagrant
|
|||
if enabled && @checkpoint_thread.nil?
|
||||
logger.debug("starting plugin check")
|
||||
@checkpoint_thread = Thread.new do
|
||||
Thread.current.abort_on_exception = false
|
||||
if Thread.current.respond_to?(:report_on_exception=)
|
||||
Thread.current.report_on_exception = false
|
||||
end
|
||||
begin
|
||||
Thread.current[:result] = Checkpoint.check(
|
||||
product: "vagrant",
|
||||
|
|
Loading…
Reference in New Issue