Temp logger fix to prevent encoding based errors
This commit is contained in:
parent
7f937ea544
commit
a85c7cc097
@ -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…
x
Reference in New Issue
Block a user