Temp logger fix to prevent encoding based errors

This commit is contained in:
Chris Roberts 2021-10-29 09:07:17 -07:00 committed by Paul Hinze
parent 7f937ea544
commit a85c7cc097
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -35,7 +35,11 @@ module Vagrant
}
d["@caller"] = event.tracer[0] if event.tracer
d.to_json + "\n"
# TODO(spox): fix this with force encoding on the message
begin
d.to_json + "\n"
rescue
end
end
end
end