diff --git a/lib/rbitter/dlthread.rb b/lib/rbitter/dlthread.rb index bf7b45d..5419a93 100644 --- a/lib/rbitter/dlthread.rb +++ b/lib/rbitter/dlthread.rb @@ -27,8 +27,6 @@ def initialize(dlfolder, large_flag) def <<(url_array) if @pool.length >= MAX_THREADS job_cleanup - else - puts "[dlthread] Stacked threads: #{@pool.length}" end download_task = Thread.new do @@ -51,8 +49,7 @@ def <<(url_array) } } rescue => e - puts "[dlthread] exception" - puts e.inspect + puts "[dlthread] exception from thread -> #{e.to_s}" end } end