lib/zold/node/farm.rb in zold-0.14.36 vs lib/zold/node/farm.rb in zold-0.14.37
- old
+ new
@@ -55,10 +55,11 @@
load
end
def to_text
@threads.map do |t|
- "#{t.name}: status=#{t.status}; alive=#{t.alive?};\n #{t.backtrace.join("\n ")}"
+ trace = t.backtrace || []
+ "#{t.name}: status=#{t.status}; alive=#{t.alive?};\n #{trace.join("\n ")}"
end.join("\n")
end
def to_json
{