lib/sunscraper.rb in sunscraper-1.2.0.pre1 vs lib/sunscraper.rb in sunscraper-1.2.0.pre2
- old
+ new
@@ -53,10 +53,10 @@
yield worker, context
if worker.wait(context, timeout)
worker.fetch(context)
else
- raise ScrapeTimeout, "Sunscraper has timed out waiting for the callback"
+ raise ScrapeTimeout, "Sunscraper has timed out waiting for the callback (#{timeout} ms passed)"
end
ensure
worker.finalize(context) if context
end
end
\ No newline at end of file