From d7173b3ad7643250d0e55255f4948e7d7f5a928d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=20M=C3=BCller?= Date: Sat, 22 Mar 2014 13:51:51 +0100 Subject: [PATCH] fixes #37 #82: encode trace message --- lib/network.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/network.rb b/lib/network.rb index 7ac5f3e..f230456 100644 --- a/lib/network.rb +++ b/lib/network.rb @@ -50,6 +50,8 @@ def get_build def update_build(id, state, trace) broadcast "Submitting build #{id} to coordinator..." + trace = trace.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '') + options = default_options.merge( state: state, trace: trace,