mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Temp logger fix to prevent encoding based errors
This commit is contained in:
parent
7f937ea544
commit
a85c7cc097
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue