lib/sinatra/runner.rb in sinatra-contrib-4.0.0 vs lib/sinatra/runner.rb in sinatra-contrib-4.1.0
- old
+ new
@@ -90,10 +90,10 @@
end
end
end
def log
- @log ||= ''
+ @log ||= +''
loop { @log << pipe.read_nonblock(1) }
rescue Exception
@log
end