lib/octospy/worker.rb in octospy-0.0.4 vs lib/octospy/worker.rb in octospy-0.0.5
- old
+ new
@@ -14,10 +14,10 @@
loop do
begin
watch_repositories
sleep Octospy.worker_interval
rescue => e
- @block.call e.message
+ @block.call "Octospy Error: #{e.message}"
sleep Octospy.worker_interval
end
end
end
end